Re: [PATCH] Linux Kernel Markers

Karim Yaghmour
2006-09-20T17:31:36Z

Hello Hiramatsu-san,

So here's a more intelligent answer than last time :)

Masami Hiramatsu wrote:
> This method is very similar to the djprobe.
> And I had gotten the same idea to support preemptive kernel.
...
> This means the below code, doesn't this?
> ---
> jmp 1f /* short jump consumes 2 bytes */
> nop
> nop
> nop
> 1:
> ---

YES, as pointed out by Mathieu, this does essentially the same.
And, yes, as mentioned earlier, this should work fine on
preemptable kernels.

> I think the djprobe can provide most of functionalities which
> your idea requires.

Indeed.

Thanks,

Karim