OSDN Git Service

kprobes: Improve smoke test to check preemptibility
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 19 Sep 2017 09:59:00 +0000 (18:59 +0900)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 Sep 2017 07:23:03 +0000 (09:23 +0200)
commit3539d09154e11336c31a900a9cd49e386ba6d9b2
tree952cd91ef95828a407fc6862c508e3cda8f6c6f3
parenta8976fc84b644e3b567ea2bafad3b53b21ed6b6c
kprobes: Improve smoke test to check preemptibility

Add preemptible check to each handler. Handlers are called with
non-preemtible, which is guaranteed by Documentation/kprobes.txt.

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/150581513991.32348.7956810394499654272.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/test_kprobes.c