]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/notifier.c
mm: remove struct node_active_region
[mirror_ubuntu-zesty-kernel.git] / kernel / notifier.c
index ae9fc7cc360ebea6088db4ae0206e452d856214b..fd2c9acbcc19856f4b53e28d1acd9f5d1cdae165 100644 (file)
@@ -544,6 +544,8 @@ int notrace notify_die(enum die_val val, const char *str,
                .signr  = sig,
 
        };
+       RCU_LOCKDEP_WARN(!rcu_is_watching(),
+                          "notify_die called but RCU thinks we're quiescent");
        return atomic_notifier_call_chain(&die_chain, val, &args);
 }
 NOKPROBE_SYMBOL(notify_die);