Re: Is notify_die being overloaded?

From: Keshavamurthy Anil S
Date: Mon Apr 17 2006 - 12:52:45 EST


On Mon, Apr 17, 2006 at 05:52:10PM +1000, Keith Owens wrote:
>
> [*] It does not help that IA64 break.b <n> does not store the value of
> <n> in cr.iim. All break.b values look like break.b 0. There used
> to be code in traps.c to detect this and extract the value of
> break.b, but a kprobes patch removed that code.
Yes, Kprobes code removed it because, by the time this cpu reads the ia64 instruction
to decode the break value, at the same time on the other cpu, due to unregister_kprobes()
call, this instruction might be replace with the original instruction. Hence the
reading/decoding the instruction might result in wrong break number. So not a good idea to
decode the instruction.

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