[PATCH] kprobes: fix single-step out of line - take2
Now that PPC64 has no-execute support, here is a second try to fix the single step out of line during kprobe execution. Kprobes on x86_64 already solved this problem by allocating an executable page and using it as the scratch area for stepping out of line. Reuse that. Signed-off-by:Ananth N Mavinakayanahalli <ananth@in.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/ppc64/kernel/kprobes.c 22 additions, 4 deletionsarch/ppc64/kernel/kprobes.c
- arch/x86_64/kernel/kprobes.c 1 addition, 112 deletionsarch/x86_64/kernel/kprobes.c
- include/asm-ia64/kprobes.h 1 addition, 0 deletionsinclude/asm-ia64/kprobes.h
- include/asm-ppc64/kprobes.h 1 addition, 1 deletioninclude/asm-ppc64/kprobes.h
- include/linux/kprobes.h 2 additions, 0 deletionsinclude/linux/kprobes.h
- kernel/kprobes.c 101 additions, 0 deletionskernel/kprobes.c
Please register or sign in to comment