aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2005-09-16 19:28:09 -0700
committerLinus Torvalds <[email protected]>2005-09-17 11:50:02 -0700
commita464adeb7e8f1cd65ca911e20a7c02e452dc2c17 (patch)
treef55ea0606247dd2fef36905c9ae817060cfae149 /include/linux
parent8ac2120d90273c590cf7662f03d103519101685b (diff)
[PATCH] Add smp_mb__after_clear_bit() to unlock_kiocb()
Add smp_mb__after_clear_bit() to unlock_kiocb() AIO's use of wait_on_bit_lock()/wake_up_bit() forgot to add a barrier between clearing its lock bit and calling wake_up_bit() so wake_up_bit()'s unlocked waitqueue_active() can race. This puts AIO's use in line with the others and the comment above wake_up_bit(). Signed-off-by: Zach Brown <[email protected]> Acked-by: Benjamin LaHaise <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions