[patch 06/10] Add notify die hooks and remove some redundant debugger hooks
Christoph Hellwig
hch at lst.de
Fri Mar 23 22:29:10 EST 2007
On Fri, Mar 23, 2007 at 10:14:50PM +1100, Paul Mackerras wrote:
> anton at samba.org writes:
>
> > Add a DIE_OOPS and DIE_MACHINE_CHECK notify_die hook and remove some
> > redundant debugger* hooks.
>
> As far as I can see, at the moment there is just one thing that gets
> registered to be called by die_notify, and that is
> kprobe_exceptions_notify. It doesn't do anything with DIE_OOPS or
> DIE_MACHINE_CHECK.
>
> I would rather get rid of die_notify and have a kprobe_notify instead
> that just directly calls kprobe_exceptions_notify. In fact having
> separate kprobe routines for the different events would be even
> better.
>
> It's not like our cpus are particularly good at indirect functions
> calls... ;(
See the patch I posted a few days ago for the pagefault path..
More information about the Linuxppc-dev
mailing list