The patch titled stack overflow safe kdump: crash: use safe_smp_processor_id() has been added to the -mm tree. Its filename is stack-overflow-safe-kdump-crash_use_safe_smp_processor_id.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: stack overflow safe kdump: crash: use safe_smp_processor_id() From: Fernando Vazquez <fernando@xxxxxxxxxxxxxxxxx> Substitute "smp_processor_id" with the stack overflow-safe "safe_smp_processor_id" in the reboot path to the second kernel. Signed-off-by: Fernando Vazquez <fernando@xxxxxxxxxxxxxxxxx> Looks-reasonable-to: Andi Kleen <ak@xxxxxx> Acked-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Vivek Goyal <vgoyal@xxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/kernel/crash.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/i386/kernel/crash.c~stack-overflow-safe-kdump-crash_use_safe_smp_processor_id arch/i386/kernel/crash.c --- a/arch/i386/kernel/crash.c~stack-overflow-safe-kdump-crash_use_safe_smp_processor_id +++ a/arch/i386/kernel/crash.c @@ -88,7 +88,7 @@ static void crash_save_self(struct pt_re { int cpu; - cpu = smp_processor_id(); + cpu = safe_smp_processor_id(); crash_save_this_cpu(regs, cpu); } @@ -185,7 +185,7 @@ void machine_crash_shutdown(struct pt_re local_irq_disable(); /* Make a note of crashing cpu. Will be used in NMI callback.*/ - crashing_cpu = smp_processor_id(); + crashing_cpu = safe_smp_processor_id(); nmi_shootdown_cpus(); lapic_shutdown(); #if defined(CONFIG_X86_IO_APIC) _ Patches currently in -mm which might be from fernando@xxxxxxxxxxxxxxxxx are stack-overflow-safe-kdump-safe_smp_processor_id.patch stack-overflow-safe-kdump-safe_smp_processor_id_voyager.patch stack-overflow-safe-kdump-crash_use_safe_smp_processor_id.patch stack-overflow-safe-kdump-safe_smp_send_nmi_allbutself.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