aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2011-03-14 19:00:30 +0000
committerThomas Gleixner <[email protected]>2011-03-14 20:10:26 +0000
commit07d5ecae2940ddd77746e2fb597dcf57d3c2e277 (patch)
tree2755106df53db441230d1e5356a65bde0274f20c /net/unix/af_unix.c
parentfutex: Deobfuscate handle_futex_death() (diff)
downloadkernel-07d5ecae2940ddd77746e2fb597dcf57d3c2e277.tar.gz
kernel-07d5ecae2940ddd77746e2fb597dcf57d3c2e277.zip
arm: Remove bogus comment in futex_atomic_cmpxchg_inatomic()
commit 522d7dec(futex: Remove redundant pagefault_disable in futex_atomic_cmpxchg_inatomic()) added a bogus comment. /* Note that preemption is disabled by futex_atomic_cmpxchg_inatomic * call sites. */ Bogus in two aspects: 1) pagefault_disable != preempt_disable even if the mechanism we use is the same 2) we have a call site which deliberately does not disable pagefaults as it wants the possible fault to be handled - though that has been changed for consistency reasons now. Sigh. I really should have seen that when committing the above. :( Catched-by-and-rightfully-ranted-at-by: Linus Torvalds <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> LKML-Reference: <[email protected]> Cc: Michel Lespinasse <[email protected]> Cc: Darren Hart <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions