lkml.org 
[lkml]   [2011]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectirqsafe_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



\
 
 \ /
  Last update: 2011-12-23 10:31    [W:0.066 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site