]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Allow raw_notifier callouts to unregister themselves
authorAlan Stern <stern@rowland.harvard.edu>
Sun, 25 Jun 2006 12:47:15 +0000 (05:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:01 +0000 (10:01 -0700)
commit45df8bede3bcb9db02ef75f0ff527db62ef16d26
tree28e9192804d3335e7585dd34bd4d5d9f236afc27
parent25ce97155a1a932af6946496e6a1f4243fb30da2
[PATCH] Allow raw_notifier callouts to unregister themselves

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.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c