]> git.hungrycats.org Git - linux/commit
cpu/hotplug: Make bringup/teardown of smp threads symmetric
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 May 2018 17:05:25 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:11:00 +0000 (18:11 +0200)
commit165ae0b7dacbd442b7b20bd32588f28e58acc884
tree6aefd01de5de4d0fff80dae6b1776fa90c052b35
parentaef565d8587c335aef7fc9ba500ebcef531f6d39
cpu/hotplug: Make bringup/teardown of smp threads symmetric

commit c4de65696d865c225fda3b9913b31284ea65ea96 upstream

The asymmetry caused a warning to trigger if the bootup was stopped in state
CPUHP_AP_ONLINE_IDLE. The warning no longer triggers as kthread_park() can
now be invoked on already or still parked threads. But there is still no
reason to have this be asymmetric.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/cpu.c