The patch titled Allow raw_notifier callouts to unregister themselves has been removed from the -mm tree. Its filename is allow-raw_notifier-callouts-to-unregister-themselves.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Allow raw_notifier callouts to unregister themselves From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/sys.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN kernel/sys.c~allow-raw_notifier-callouts-to-unregister-themselves kernel/sys.c --- a/kernel/sys.c~allow-raw_notifier-callouts-to-unregister-themselves +++ a/kernel/sys.c @@ -137,14 +137,15 @@ static int __kprobes notifier_call_chain unsigned long val, void *v) { int ret = NOTIFY_DONE; - struct notifier_block *nb; + struct notifier_block *nb, *next_nb; nb = rcu_dereference(*nl); while (nb) { + next_nb = rcu_dereference(nb->next); ret = nb->notifier_call(nb, val, v); if ((ret & NOTIFY_STOP_MASK) == NOTIFY_STOP_MASK) break; - nb = rcu_dereference(nb->next); + nb = next_nb; } return ret; } _ Patches currently in -mm which might be from stern@xxxxxxxxxxxxxxxxxxx are origin.patch e100-disable-interrupts-at-boot.patch block-layer-early-detection-of-medium-not-present.patch scsi-core-and-sd-early-detection-of-medium-not-present.patch sd-early-detection-of-medium-not-present.patch task-watchers-task-watchers.patch task-watchers-task-watchers-tidy.patch task-watchers-add-support-for-per-task-watchers.patch task-watchers-add-support-for-per-task-watchers-warning-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html