diff options
author | Steven Rostedt (VMware) <[email protected]> | 2020-11-02 09:17:49 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-11-04 09:46:06 -0500 |
commit | 645f224e7ba2f4200bf163153d384ceb0de5462e (patch) | |
tree | 8e4d6abaf425a9cf9b253f0dba60b9ca98102dcb /include/linux/trace_recursion.h | |
parent | 561ca66910bf597f170be5a7aa531c4e05f8e9be (diff) |
kprobes: Tell lockdep about kprobe nesting
Since the kprobe handlers have protection that prohibits other handlers from
executing in other contexts (like if an NMI comes in while processing a
kprobe, and executes the same kprobe, it will get fail with a "busy"
return). Lockdep is unaware of this protection. Use lockdep's nesting api to
differentiate between locks taken in INT3 context and other context to
suppress the false warnings.
Link: https://lore.kernel.org/r/[email protected]
Cc: Peter Zijlstra <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions