summaryrefslogtreecommitdiff
path: root/arch/arm/probes
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-05-24 10:15:37 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-05-26 10:10:45 +0200
commitc23a465625e287c4deba0fdf5e8adc59cfd2a0b7 (patch)
tree11235b5ba8e8e602f37676e4f9ea3187118293a6 /arch/arm/probes
parent2d1e38f56622b9bb5af85be63c1052c056f5c677 (diff)
downloadlwn-c23a465625e287c4deba0fdf5e8adc59cfd2a0b7.tar.gz
lwn-c23a465625e287c4deba0fdf5e8adc59cfd2a0b7.zip
arm64: Prevent cpu 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: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Sebastian Siewior <bigeasy@linutronix.de> Cc: Will Deacon <will.deacon@arm.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/20170524081549.197070135@linutronix.de
Diffstat (limited to 'arch/arm/probes')
0 files changed, 0 insertions, 0 deletions