]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 8 Aug 2018 12:08:07 +0000 (14:08 +0200)
commita82cd3a3b7b7832732b0e827103177e5490efa9d
tree2b3ba58d6199c4d83d168c71fa30a418efbbac7f
parentb6d27ae9a04c04a8bb765693f72bcbf984bfb623
cpu/hotplug: Make bringup/teardown of smp threads symmetric

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>
CVE-2018-3620
CVE-2018-3646

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
kernel/cpu.c