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

H. Peter Anvin
2009-11-24T16:42:42Z

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.