[folded-merged] cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v3
has been removed from the -mm tree.  Its filename was
     cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v3.patch

This patch was dropped because it was folded into cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline.patch

------------------------------------------------------
From: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>
Subject: cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v3

Update: Move the switch-case handling for CPU_DYING such that
CPU_UP_CANCELED falls-through to CPU_DEAD (instead of CPU_DYING).  Also,
add an explicit comment mentioning this.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>
Tested-by: Sachin Kamat <sachin.kamat@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/smp.c |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff -puN kernel/smp.c~cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v3 kernel/smp.c
--- a/kernel/smp.c~cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline-v3
+++ a/kernel/smp.c
@@ -53,6 +53,13 @@ hotplug_cfd(struct notifier_block *nfb,
 #ifdef CONFIG_HOTPLUG_CPU
 	case CPU_UP_CANCELED:
 	case CPU_UP_CANCELED_FROZEN:
+		/* Fall-through to the CPU_DEAD[_FROZEN] case. */
+
+	case CPU_DEAD:
+	case CPU_DEAD_FROZEN:
+		free_cpumask_var(cfd->cpumask);
+		free_percpu(cfd->csd);
+		break;
 
 	case CPU_DYING:
 	case CPU_DYING_FROZEN:
@@ -67,12 +74,6 @@ hotplug_cfd(struct notifier_block *nfb,
 		 */
 		flush_smp_call_function_queue(false);
 		break;
-
-	case CPU_DEAD:
-	case CPU_DEAD_FROZEN:
-		free_cpumask_var(cfd->cpumask);
-		free_percpu(cfd->csd);
-		break;
 #endif
 	};
 
_

Patches currently in -mm which might be from srivatsa.bhat@xxxxxxxxxxxxxxxxxx are

cpu-hotplug-smp-flush-any-pending-ipi-callbacks-before-cpu-offline.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




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux