summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-02 09:17:49 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-04 09:46:06 -0500
commit645f224e7ba2f4200bf163153d384ceb0de5462e (patch)
tree8e4d6abaf425a9cf9b253f0dba60b9ca98102dcb /init
parent561ca66910bf597f170be5a7aa531c4e05f8e9be (diff)
downloadlinux-645f224e7ba2f4200bf163153d384ceb0de5462e.tar.bz2
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/20201102160234.fa0ae70915ad9e2b21c08b85@kernel.org Cc: Peter Zijlstra <peterz@infradead.org> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions