summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-05-29 16:43:46 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-06-21 14:20:56 +0200
commitba2591a5993eabcc8e874e30f361d8ffbb10d6d4 (patch)
tree4c39c4c1da38825d75baf4c76e2ebeefb0e17ff1 /arch/x86
parent56563f53d3066afa9e63d6c997bf67e76a8b05c0 (diff)
sched/smt: Update sched_smt_present at runtime
The static key sched_smt_present is only updated at boot time when SMT siblings have been detected. Booting with maxcpus=1 and bringing the siblings online after boot rebuilds the scheduling domains correctly but does not update the static key, so the SMT code is not enabled. Let the key be updated in the scheduler CPU hotplug code to fix this. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions