lkml.org 
[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH 2/9] x86: introduce a set of platform feature flags
>> +#define platform_has(bit) \
>> + test_bit(bit, (unsigned long *)platform_feature)
>
>test_bit and friends imply synchronization you probably don't want or
>need...
>
[[JPAN]] could you explain a little more? The disassembly shows the test_bit
ends up as a testb instruction and a jump. Why there is synchronization
involved?
Perhaps on some architectures?


\
 
 \ /
  Last update: 2009-07-03 01:11    [W:0.066 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site