Re: [patch 06/10] Add notify die hooks and remove some redundant debugger hooks
From: Christoph Hellwig <hch@lst.de>
Date: 2007-03-23 11:29:19
From: Christoph Hellwig <hch@lst.de>
Date: 2007-03-23 11:29:19
On Fri, Mar 23, 2007 at 10:14:50PM +1100, Paul Mackerras wrote:
anton@samba.org writes:quoted
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..