The patch titled kprobe cleanup for VM_MASK judgement has been added to the -mm tree. Its filename is kprobe-cleanup-for-vm_mask-judgement.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: "mao, bibo" <bibo.mao@xxxxxxxxx> When trap happens in user space, kprobe_exceptions_notify() funtion will skip it. This patch deletes some unnecessary code for VM_MASK judgement in eflags. Signed-off-by: bibo, mao <bibo.mao@xxxxxxxxx> Cc: Masami Hiramatsu <hiramatu@xxxxxxxxxxxxxxxxx> Cc: Ananth N Mavinakayanahalli <ananth@xxxxxxxxxx> Acked-by: "Keshavamurthy, Anil S" <anil.s.keshavamurthy@xxxxxxxxx> Acked-by: Prasanna S Panchamukhi <prasanna@xxxxxxxxxx> Cc: Jim Keniston <jkenisto@xxxxxxxxxx> Cc: Yumiko Sugita <sugita@xxxxxxxxxxxxxxxxx> Cc: Satoshi Oshima <soshima@xxxxxxxxxx> Cc: Hideo Aoki <haoki@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/kernel/kprobes.c | 9 --------- 1 files changed, 9 deletions(-) diff -puN arch/i386/kernel/kprobes.c~kprobe-cleanup-for-vm_mask-judgement arch/i386/kernel/kprobes.c --- 25/arch/i386/kernel/kprobes.c~kprobe-cleanup-for-vm_mask-judgement Wed Apr 26 14:53:31 2006 +++ 25-akpm/arch/i386/kernel/kprobes.c Wed Apr 26 14:53:31 2006 @@ -291,10 +291,6 @@ static int __kprobes kprobe_handler(stru kcb->kprobe_status = KPROBE_REENTER; return 1; } else { - if (regs->eflags & VM_MASK) { - /* We are in virtual-8086 mode. Return 0 */ - goto no_kprobe; - } if (*addr != BREAKPOINT_INSTRUCTION) { /* The breakpoint instruction was removed by * another cpu right after we hit, no further @@ -314,11 +310,6 @@ static int __kprobes kprobe_handler(stru p = get_kprobe(addr); if (!p) { - if (regs->eflags & VM_MASK) { - /* We are in virtual-8086 mode. Return 0 */ - goto no_kprobe; - } - if (*addr != BREAKPOINT_INSTRUCTION) { /* * The breakpoint instruction was removed right _ Patches currently in -mm which might be from bibo.mao@xxxxxxxxx are kprobemulti-kprobe-posthandler-for-booster.patch kprobe-cleanup-for-vm_mask-judgement.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