Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86/smpboot: remove redundant CONFIG_SCHED_SMT

On x86 CONFIG_SCHED_SMT is default y if SMP is enabled, so let's
simply drop CONFIG_SCHED_SMT.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20250710105715.66594-3-me@linux.beauty

authored by

Li Chen and committed by
Peter Zijlstra
992de2b0 e075f436

-2
-2
arch/x86/kernel/smpboot.c
··· 484 484 { 485 485 int i = 0; 486 486 487 - #ifdef CONFIG_SCHED_SMT 488 487 x86_topology[i++] = SDTL_INIT(cpu_smt_mask, cpu_smt_flags, SMT); 489 - #endif 490 488 #ifdef CONFIG_SCHED_CLUSTER 491 489 x86_topology[i++] = SDTL_INIT(cpu_clustergroup_mask, x86_cluster_flags, CLS); 492 490 #endif