Masami Hiramatsu
8633eec0ee
kprobes/x86: Disable preemption in ftrace-based jprobes
...
[ Upstream commit 5bb4fc2d8641219732eb2bb654206775a4219aca ]
Disable preemption in ftrace-based jprobe handlers as
described in Documentation/kprobes.txt:
"Probe handlers are run with preemption disabled."
This will fix jprobes behavior when CONFIG_PREEMPT=y.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/150581530024.32348.9863783558598926771.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-09 18:42:41 +01:00
..
2017-09-07 08:34:09 +02:00
2017-09-27 11:00:16 +02:00
2017-12-05 11:22:50 +01:00
2017-11-24 08:32:25 +01:00
2016-10-07 15:23:45 +02:00
2016-09-30 10:18:37 +02:00
2017-03-31 09:49:53 +02:00
2017-01-12 11:22:48 +01:00
2017-06-26 07:13:11 +02:00
2017-03-31 09:49:53 +02:00
2016-09-24 10:07:44 +02:00
2016-09-24 10:07:46 +02:00
2016-09-24 10:07:43 +02:00
2016-12-15 08:49:23 -08:00
2017-05-25 14:30:16 +02:00
2016-09-24 10:07:43 +02:00
2017-11-30 08:37:20 +00:00
2016-09-24 10:07:45 +02:00
2017-04-12 12:38:34 +02:00
2017-08-06 19:19:45 -07:00
2017-11-30 08:37:24 +00:00
2017-11-30 08:37:24 +00:00
2017-12-09 18:42:39 +01:00
2016-09-24 10:07:44 +02:00
2017-11-15 17:13:10 +01:00
2017-11-18 11:11:07 +01:00
2017-06-26 07:13:11 +02:00
2016-09-07 08:32:38 +02:00
2015-11-11 09:16:10 -08:00
2017-12-09 18:42:41 +01:00
2017-06-26 07:13:11 +02:00