From: Michael S. Tsirkin Date: Sun, 24 Jun 2012 16:24:42 +0000 (+0300) Subject: x86, bitops: note on __test_and_clear_bit atomicity X-Git-Tag: v3.6-rc1~124^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a69d6321ca759bb8d47803d06ba8571ab42d07;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed