Re: [PATCH] Notifier for significant events on i386

Alan Cox (alan@lxorguk.ukuu.org.uk)
11 Dec 2002 21:15:36 +0000


On Wed, 2002-12-11 at 20:27, John Levon wrote:
> There are notifiers being used that sleep inside the called notifiers.
>
> You could easily make a __notifier_call_chain that is lockless and
> another one that readlocks the notifier_lock ...

The notifier chains assume the users will do the locking needed for
them. It might be possible to do cool things there with RCU

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/