ptrace: task_clear_jobctl_trapping()->wake_up_bit() needs mb()
authorOleg Nesterov <oleg@redhat.com>
Fri, 6 Jun 2014 21:36:44 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:11 +0000 (16:08 -0700)
commit650226bd95817d727c9a388752d72ef292c4a668
tree3ac61b738f2738a76e0326da7e58433fbd79d6d2
parent4e52365f279564cef0ddd41db5237f0471381093
ptrace: task_clear_jobctl_trapping()->wake_up_bit() needs mb()

__wake_up_bit() checks waitqueue_active() and thus the caller needs mb()
as wake_up_bit() documents, fix task_clear_jobctl_trapping().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c