Re: [PATCH] Linux Kernel Markers

From: Karim Yaghmour
Date: Wed Sep 20 2006 - 13:31:54 EST



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

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