The patch titled ia64: kprobes: fixup the pagefault exception caused by probehandlers has been added to the -mm tree. Its filename is ia64-kprobes-fixup-the-pagefault-exception-caused-by-probehandlers.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ia64: kprobes: fixup the pagefault exception caused by probehandlers From: Keshavamurthy Anil S <anil.s.keshavamurthy@xxxxxxxxx> If the user-specified kprobe handler causes the page fault when accessing user space address, fixup this fault since do_page_fault() should not continue as the kprobe handler are run with preemption disabled. Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/ia64/kernel/kprobes.c | 6 ++++++ 1 files changed, 6 insertions(+) diff -puN arch/ia64/kernel/kprobes.c~ia64-kprobes-fixup-the-pagefault-exception-caused-by-probehandlers arch/ia64/kernel/kprobes.c --- a/arch/ia64/kernel/kprobes.c~ia64-kprobes-fixup-the-pagefault-exception-caused-by-probehandlers +++ a/arch/ia64/kernel/kprobes.c @@ -768,6 +768,12 @@ static int __kprobes kprobes_fault_handl */ if (cur->fault_handler && cur->fault_handler(cur, regs, trapnr)) return 1; + /* + * In case the user-specified fault handler returned + * zero, try to fix up. + */ + if (ia64_done_with_exception(regs)) + return 1; /* * Let ia64_do_page_fault() fix it. _ Patches currently in -mm which might be from anil.s.keshavamurthy@xxxxxxxxx are ia64-kprobes-fixup-the-pagefault-exception-caused-by-probehandlers.patch kprobes-make-kprobe-modules-more-portable-update.patch kprobes-handle-symbol-resolution-when-modulesymbol-is-specified.patch kprobes-handle-symbol-resolution-when-modulesymbol-is-specified-tidy.patch add-regs_return_value-helper.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html