Re: [PATCH] Fix kprobes handling of simultaneous probehit/unregister

From: David S. Miller
Date: Wed Aug 31 2005 - 17:27:58 EST


From: Jim Keniston <jkenisto@xxxxxxxxxx>
Date: 31 Aug 2005 14:53:37 -0700

> This bug doesn't exist on ppc64 and ia64, where a breakpoint
> instruction leaves the IP pointing to the beginning of the instruction.
> I don't know about sparc64. (Dave, could you please advise?)

On sparc64 instructions are all 32-bit, 4-byte aligned, and a
breakpoint instruction leaves the PC pointing at the beginning of that
breakpoint instruction.

So I think sparc64 should be OK.
-
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/