[PATCH] Notify page fault call chain
authorAnil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Mon, 26 Jun 2006 07:25:29 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:22 +0000 (09:58 -0700)
commite6f47f978bcd5413fff610613b18e9e0eab9bc1b
treebf9e698cb76a0e958a8c9157fba74fb6d8255298
parent3d5631e0631a11633c649bc995a6537ec21b67b4
[PATCH] Notify page fault call chain

With this patch Kprobes now registers for page fault notifications only when
their is an active probe registered.  Once all the active probes are
unregistered their is no need to be notified of page faults and kprobes
unregisters itself from the page fault notifications.  Hence we will have ZERO
side effects when no probes are active.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/kprobes.h
include/asm-ia64/kprobes.h
include/asm-powerpc/kprobes.h
include/asm-sparc64/kprobes.h
include/asm-x86_64/kprobes.h
kernel/kprobes.c