[patch 06/10] Add notify die hooks and remove some redundant debugger hooks
Paul Mackerras
paulus at samba.org
Fri Mar 23 22:14:50 EST 2007
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... ;(
Paul.
More information about the Linuxppc-dev
mailing list