Re: Is notify_die being overloaded?

Keshavamurthy Anil S
2006-04-17T16:52:44Z

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