Skip to contentSkip to conversation

+ cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 10, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 10 Jun 2014 15:28:58 -0700

The patch titled
Subject: CPU hotplug, smp: Execute any pending IPI callbacks before CPU offline
has been added to the -mm tree. Its filename is
cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2.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: CPU hotplug, smp: Execute any pending IPI callbacks before CPU offline

Changes in v2:

* Modified the changelog to make it more accurate and easy to understand, based on feedback by Peter Zijlstra.
* Replaced the term "IPI functions" with "IPI callbacks" in the code comments.
* Absolutely no changes in the code.

---

 kernel/smp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/smp.c renamed from kernel/smp.c~cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2 +2 -2
diff -puN kernel/smp.c~cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2 kernel/smp.c
@@ -212,10 +212,10 @@ void generic_smp_call_function_single_in
  *
  * Flush any pending smp-call-function callbacks queued on this CPU. This is
  * invoked by the generic IPI handler, as well as by a CPU about to go offline,
- * to ensure that all pending IPI functions are run before it goes completely
+ * to ensure that all pending IPI callbacks are run before it goes completely
  * offline.
  *
- * Loop through the call_single_queue and run all the queued functions.
+ * Loop through the call_single_queue and run all the queued callbacks.
  * Must be called with interrupts disabled.
  */
 static void flush_smp_call_function_queue(bool warn_cpu_offline)

_

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

origin.patch cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline.patch cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v2.patch linux-next.patch