]> git.baikalelectronics.ru Git - kernel.git/commit
x86/speculation: Remove redundant arch_smt_update() invocation
authorZhenzhong Duan <zhenzhong.duan@oracle.com>
Thu, 17 Jan 2019 10:10:59 +0000 (02:10 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Jan 2019 21:20:24 +0000 (22:20 +0100)
commit76446b64dd0ca0c8c41adfa43a134e8dc8567573
treed4a0aebc5672f47e21590f8f2955812f120a99a9
parent8678908eb40428af8a0e0bf3787c7b6bbdf9781f
x86/speculation: Remove redundant arch_smt_update() invocation

With commit f20b3f982273 ("x86/speculation: Rework SMT state change"),
arch_smt_update() is invoked from each individual CPU hotplug function.

Therefore the extra arch_smt_update() call in the sysfs SMT control is
redundant.

Fixes: f20b3f982273 ("x86/speculation: Rework SMT state change")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <konrad.wilk@oracle.com>
Cc: <dwmw@amazon.co.uk>
Cc: <bp@suse.de>
Cc: <srinivas.eeda@oracle.com>
Cc: <peterz@infradead.org>
Cc: <hpa@zytor.com>
Link: https://lkml.kernel.org/r/e2e064f2-e8ef-42ca-bf4f-76b612964752@default
kernel/cpu.c