commit | cda2495ab448119db5ae7d3d1cdc9c6d44934122 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Fri Jul 10 00:25:47 2015 +0200 |
committer | Oleg Nesterov <oleg@redhat.com> | Sun Jul 19 21:51:17 2015 +0200 |
tree | d664ffdc74efc1b7b14cb14e5e7361e535364b14 | |
parent | 6522ed40cc5b3d570cb7f2baccfbaefe339326c7 [diff] |
uprobes: fix the waitqueue_active() check in xol_free_insn_slot() The xol_free_insn_slot()->waitqueue_active() check is buggy. We need mb() after we set the conditon for wait_event(), or xol_take_insn_slot() can miss the wakeup. Signed-off-by: Oleg Nesterov <oleg@redhat.com>