Re: [PATCH -tip v5 07/10] kprobes/x86: Support kprobes jump optimizationon x86

From: H. Peter Anvin
Date: Tue Nov 24 2009 - 11:42:53 EST


On 11/23/2009 03:22 PM, Masami Hiramatsu wrote:
>
> This uses stop_machine() for corss modifying code from int3 to jump.
> It doesn't allow us to modify code on NMI/SMI path. However, since
> kprobes itself doesn't support NMI/SMI code probing, it's not a
> problem.
>

I'm a bit confused by the above statement... does that mean you're
poking int3 and *then* do stop_machine()?

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/