The patch titled Subject: kernel-add-panic_on_warn-v9 has been removed from the -mm tree. Its filename was kernel-add-panic_on_warn-v9.patch This patch was dropped because it was folded into kernel-add-panic_on_warn.patch ------------------------------------------------------ From: Prarit Bhargava <prarit@xxxxxxxxxx> Subject: kernel-add-panic_on_warn-v9 Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/panic.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN kernel/panic.c~kernel-add-panic_on_warn-v9 kernel/panic.c --- a/kernel/panic.c~kernel-add-panic_on_warn-v9 +++ a/kernel/panic.c @@ -23,7 +23,6 @@ #include <linux/sysrq.h> #include <linux/init.h> #include <linux/nmi.h> -#include <linux/crash_dump.h> #define PANIC_TIMER_STEP 100 #define PANIC_BLINK_SPD 18 @@ -423,8 +422,7 @@ static void warn_slowpath_common(const c { disable_trace_on_warning(); - if (!panic_on_warn) - pr_warn("------------[ cut here ]------------\n"); + pr_warn("------------[ cut here ]------------\n"); pr_warn("WARNING: CPU: %d PID: %d at %s:%d %pS()\n", raw_smp_processor_id(), current->pid, file, line, caller); @@ -433,8 +431,10 @@ static void warn_slowpath_common(const c if (panic_on_warn) { /* - * A flood of WARN()s may occur. Prevent further WARN()s - * from panicking the system. + * This thread may hit another WARN() in the panic path. + * Resetting this prevents additional WARN() from panicking the + * system on this thread. Other threads are blocked by the + * panic_mutex in panic(). */ panic_on_warn = 0; panic("panic_on_warn set ...\n"); _ Patches currently in -mm which might be from prarit@xxxxxxxxxx are kernel-add-panic_on_warn.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