Re: [PATCH] Notifier for significant events on i386

From: Vamsi Krishna S . (
Date: Fri Dec 13 2002 - 07:32:41 EST

On Thu, Dec 12, 2002 at 05:58:04PM +0000, John Levon wrote:
> On Thu, Dec 12, 2002 at 09:53:35AM -0800, Stephen Hemminger wrote:
> > The use of notifier today is limited to things that can't sleep. As far
> kernel/profile.c
> You'd have to move that to a different API if you want to force notifier
> callbacks non-sleepable
Yes, indeed most of the existing notifiers potentially sleep. That is why
I think we should, may be, leave the existing notifiers alone. Add a
notifier_call_chain_safe() and use that to run trap1/trap3/NMI etc

Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5044959
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:28 EST