prevent boosting kprobes on exception address
authorMasami Hiramatsu <mhiramat@redhat.com>
Mon, 16 Mar 2009 22:57:22 +0000 (18:57 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Mar 2009 16:11:48 +0000 (09:11 -0700)
commit30390880debce4a68fd23e87a787f27609e4bf4a
tree8466b965fee089fdafceaeaaf785fdea288b4bbd
parent18439c39e826191c0ef08c3a3271ce7ece46a860
prevent boosting kprobes on exception address

Don't boost at the addresses which are listed on exception tables,
because major page fault will occur on those addresses.  In that case,
kprobes can not ensure that when instruction buffer can be freed since
some processes will sleep on the buffer.

kprobes-ia64 already has same check.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/kprobes.c