Re: [PATCH] Kprobes causes NX protection fault on i686 SMP

From: Andi Kleen
Date: Wed Feb 22 2006 - 12:26:21 EST


Prasanna S Panchamukhi <prasanna@xxxxxxxxxx> writes:

> This patch fixes the problem seen on i686 machine with NX support,
> where the instruction could not be single stepped because of NX
> bit set on the memory pages allocated by kprobes module. This patch
> provides allocation of instruction solt so that the processor can
> execute the instruction from that location similar to x86_64
> architecture. Thanks to Bibo and Masami for testing this patch.
>
> Signed-off-by: Prasanna S Panchamukhi <prasanna@xxxxxxxxxx>

Looks good to me.

Acked-by: Andi Kleen <ak@xxxxxxx>

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/