Skip to content
Commit f794c827 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

[S390] kprobes breaks BUG_ON



The illegal operation handler calls the die notifier with DIE_BPT to
let kprobes pick up its breakpoint. If kprobes does not find its
breakpoint it returns NOTIFY_STOP instead of NOTIFY_DONE.
Since we use stop_machine_run on s390 to arm/disarm the kprobes
breakpoints the race that kprobe_handler tries to solve by checking
for the kprobes breakpoints does not exist. Removing the check makes
BUG_ON working again.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c3442e29
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment