lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <4EF4581C0200007800069BA2@nat28.tlf.novell.com>
Date:	Fri, 23 Dec 2011 09:29:48 +0000
From:	"Jan Beulich" <JBeulich@...e.com>
To:	<cl@...ux.com>
Cc:	<mingo@...e.hu>, <linux-kernel@...r.kernel.org>
Subject: irqsafe_cpu_...() 64-bit operations on 32-bit platform

Christoph,

you introduced these for 2.6.33, but I wonder about their completeness
in the current state: On ix86, I can add, sub, xor, etc a 64-bit variable
this way (through the generic implementation), but there's no way to
read or write such a variable. While not documented explicitly, it seems
like the assumption is that this_cpu_{read,write}() can be used for this
purpose, but that's clearly wrong.

Along the same lines, Ingo, x86 has set_64bit() but no get_64bit()
(and no [gs]et_64bit_local()). Is that really intentional?

Thanks for your thoughts on this,
Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ