Skip to contentSkip to conversation

CPU hotplug fix

GIT PULL Ingo Molnar 1 participant 1 message Dec 6, 2017 CPU hotplug

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest smp-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus

# HEAD: 46febd37f9c758b05cd25feae8512f22584742fe smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place

A single fix moving the smp-call queue flush step to the intended point in the state machine.

Thanks,

Ingo

------------------>
Lai Jiangshan (1):
smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place

 kernel/cpu.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
kernel/cpu.c +5 -5
index 04892a82f6ac..7891aecc6aec 100644
@@ -1289,11 +1289,6 @@ static struct cpuhp_step cpuhp_bp_states[] = {
 		.teardown.single	= NULL,
 		.cant_stop		= true,
 	},
-	[CPUHP_AP_SMPCFD_DYING] = {
-		.name			= "smpcfd:dying",
-		.startup.single		= NULL,
-		.teardown.single	= smpcfd_dying_cpu,
-	},
 	/*
 	 * Handled on controll processor until the plugged processor manages
 	 * this itself.
@@ -1335,6 +1330,11 @@ static struct cpuhp_step cpuhp_ap_states[] = {
 		.startup.single		= NULL,
 		.teardown.single	= rcutree_dying_cpu,
 	},
+	[CPUHP_AP_SMPCFD_DYING] = {
+		.name			= "smpcfd:dying",
+		.startup.single		= NULL,
+		.teardown.single	= smpcfd_dying_cpu,
+	},
 	/* Entry state on starting. Interrupts enabled from here on. Transient
 	 * state for synchronsization */
 	[CPUHP_AP_ONLINE] = {