On Tue, 18 Oct 2005 21:11:45 -0700, Greg KH <[EMAIL PROTECTED]> wrote:

> It looks like it's safe to walk the list and add a new notifier at the
> same time.  Take a look at kernel/sys.c::notifier_chain_register() to
> see if I missed something.

By the way, to follow-up, look at this:
http://www.ussg.iu.edu/hypermail/linux/kernel/0007.3/0548.html

Apparently, the reason there is no locking in walking the chain
is that someone removes notifiers from a notifier.

I still think that calls to notifiers have to be guarded from
the outside, just because the inside is such a mess.

-- Pete


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to