WSL2-Linux-Kernel/arch/arm/probes
Thomas Gleixner 9489cc8f37 arm: Prevent hotplug rwsem recursion
The text patching functions which are invoked from jump_label and kprobes
code are protected against cpu hotplug at the call sites.

Use stop_machine_cpuslocked() to avoid recursion on the cpu hotplug
rwsem. stop_machine_cpuslocked() contains a lockdep assertion to catch any
unprotected callers.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20170524081549.275871311@linutronix.de
2017-05-26 10:10:46 +02:00
..
kprobes arm: Prevent hotplug rwsem recursion 2017-05-26 10:10:46 +02:00
uprobes ARM: kprobes: introduces checker 2015-01-09 09:36:51 +00:00
Makefile ARM: probes: move all probe code to dedicate directory 2015-01-09 09:36:50 +00:00
decode-arm.c ARM: kprobes: introduces checker 2015-01-09 09:36:51 +00:00
decode-arm.h ARM: kprobes: introduces checker 2015-01-09 09:36:51 +00:00
decode-thumb.c ARM: kprobes: introduces checker 2015-01-09 09:36:51 +00:00
decode-thumb.h ARM: kprobes: introduces checker 2015-01-09 09:36:51 +00:00
decode.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
decode.h kprobes: move kprobe declarations to asm-generic/kprobes.h 2017-02-27 18:43:45 -08:00