Skip to contentSkip to conversation

+ smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 15, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 15 May 2014 14:59:35 -0700

The patch titled
Subject: smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5
has been added to the -mm tree. Its filename is
smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: "Srivatsa S. Bhat" <[email protected]>
Subject: smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5

Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Rusty Russell <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Rik van Riel <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Gautham R Shenoy <[email protected]>
Cc "Paul E. McKenney" <[email protected]>
Cc Oleg Nesterov <[email protected]>
Cc Rafael J. Wysocki <[email protected]>

---

 kernel/smp.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
kernel/smp.c renamed from kernel/smp.c~smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5 +4 -2
diff -puN kernel/smp.c~smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5 kernel/smp.c
@@ -195,13 +195,15 @@ void generic_smp_call_function_single_in
 	 */
 	if (unlikely(!cpu_online(smp_processor_id()) && !warned)) {
 		warned = true;
-		WARN_ON(1);
+		WARN(1, "IPI on offline CPU %d\n", smp_processor_id());
+
 		/*
 		 * We don't have to use the _safe() variant here
 		 * because we are not invoking the IPI handlers yet.
 		 */
 		llist_for_each_entry(csd, entry, llist)
-			pr_warn("SMP IPI Payload: %pS \n", csd->func);
+			pr_warn("IPI callback %pS sent to offline CPU\n",
+				csd->func);
 	}
 
 	llist_for_each_entry_safe(csd, csd_next, entry, llist) {

_

Patches currently in -mm which might be from [email protected] are

smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu.patch smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-fix.patch smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-v5.patch cpu-hotplug-stop-machine-plug-race-window-that-leads-to-ipi-to-offline-cpu.patch cpu-hotplug-stop-machine-plug-race-window-that-leads-to-ipi-to-offline-cpu-v3.patch cpu-hotplug-stop-machine-plug-race-window-that-leads-to-ipi-to-offline-cpu-v5.patch cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline.patch linux-next.patch