]> git.hungrycats.org Git - linux/commit
cpu/hotplug: Online siblings when SMT control is turned on
authorThomas Gleixner <tglx@linutronix.de>
Sat, 7 Jul 2018 09:40:18 +0000 (11:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:11:04 +0000 (18:11 +0200)
commit49fc27f3c0f3135f1f9f9623f9962fff97de95ef
treef5194c3b85354696ef35602b72a6588a7c54cd57
parent0689d66648a5c48b04afec54125ab5812eea2ec0
cpu/hotplug: Online siblings when SMT control is turned on

commit 215af5499d9e2b55f111d2431ea20218115f29b3 upstream

Writing 'off' to /sys/devices/system/cpu/smt/control offlines all SMT
siblings. Writing 'on' merily enables the abilify to online them, but does
not online them automatically.

Make 'on' more useful by onlining all offline siblings.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/cpu.c