aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2012-06-24 19:24:42 +0300
committerAvi Kivity <[email protected]>2012-06-25 12:38:35 +0300
commitd0a69d6321ca759bb8d47803d06ba8571ab42d07 (patch)
tree6b94990e0b4d43251740fa60deef29148bce9d58 /lib/string_helpers.c
parentab9cf4996bb989983e73da894b8dd0239aa2c3c2 (diff)
x86, bitops: note on __test_and_clear_bit atomicity
__test_and_clear_bit is actually atomic with respect to the local CPU. Add a note saying that KVM on x86 relies on this behaviour so people don't accidentaly break it. Also warn not to rely on this in portable code. Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions