Re: [PATCH] Allow raw_notifier callouts to unregister themselves

From: David S. Miller
Date: Thu May 11 2006 - 14:57:15 EST


From: Andrew Morton <akpm@xxxxxxxx>
Date: Thu, 11 May 2006 11:25:09 -0700

> Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Since raw_notifier chains don't benefit from any centralized locking
> > protections, they shouldn't suffer from the associated limitations.
> > Under some circumstances it might make sense for a raw_notifier callout
> > routine to unregister itself from the notifier chain. This patch (as678)
> > changes the notifier core to allow for such things.
>
> ok... Can you see any reason why 2.6.17 needs this?

If this patch makes raw notifiers behave more closely to the
way notifiers did before the notifier patch went into 2.6.17,
we should seriouly consider it. We've had enough regressions
from that patch, and anything which minimizes any possible other
such regressions would be a plus.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/