summaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-06-24 19:24:42 +0300
committerAvi Kivity <avi@redhat.com>2012-06-25 12:38:35 +0300
commitd0a69d6321ca759bb8d47803d06ba8571ab42d07 (patch)
tree6b94990e0b4d43251740fa60deef29148bce9d58 /Documentation/virtual
parentab9cf4996bb989983e73da894b8dd0239aa2c3c2 (diff)
downloadop-kernel-dev-d0a69d6321ca759bb8d47803d06ba8571ab42d07.zip
op-kernel-dev-d0a69d6321ca759bb8d47803d06ba8571ab42d07.tar.gz
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 <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud