]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] kprobe-booster: disable in preemptible kernel
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Sun, 30 Jul 2006 10:03:21 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:38 +0000 (13:28 -0700)
commitc39df470e04822965d945473d831786ab79dd4cd
tree5a16bc4b29c71d9ae3cd234995c66daedc85e6bf
parent2a8a3d5b65e86ec1dfef7d268c64a909eab94af7
[PATCH] kprobe-booster: disable in preemptible kernel

The kprobe-booster's safety check against preemption does not work well
now, because the preemption count has been modified by read_rcu_lock() in
atomic_notifier_call_chain() before we check it.  So, I'd like to prevent
boosting kprobe temporarily if the kernel is preemptable.

Now we are searching for the good solution.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/kprobes.c