Re: [PATCH] Linux Kernel Markers
From: Karim Yaghmour
Date: Wed Sep 20 2006 - 15:48:30 EST
Martin Bligh wrote:
> You mean using the jump-over thing that was posted earlier?
> I thought the CPU erratas prevented doing that atomically
> properly. From my understanding of the last 24 hours discussion,
> it seemed like the ONLY thing we could do safely atomically was
> insert an int3. Which sucks, frankly, but still.
No. djprobes already does safely insert other stuff than just
int3, that's the whole point.
Here are the relevant postings by Hiramatsu-san:
http://marc.theaimsgroup.com/?l=linux-kernel&m=115875912510827&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=115875867519302&w=2
Unless there's something *I* fundamentally misunderstood from
Hiramatsu-san's implementation and input, djprobes can replace
the 5-byte filler with a 5-byte unconditional jump. IOW your
mechanism works, no int3s involved.
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/