projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca528cc
)
x86/sched: Remove SD_ASYM_PACKING from the SMT domain flags
author
Ricardo Neri
<ricardo.neri-calderon@linux.intel.com>
Thu, 6 Apr 2023 20:31:46 +0000
(13:31 -0700)
committer
Peter Zijlstra
<peterz@infradead.org>
Mon, 8 May 2023 08:58:37 +0000
(10:58 +0200)
There is no difference between any of the SMT siblings of a physical core.
Do not do asym_packing load balancing at this level.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Link:
https://lore.kernel.org/r/20230406203148.19182-11-ricardo.neri-calderon@linux.intel.com
arch/x86/kernel/smpboot.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/smpboot.c
b/arch/x86/kernel/smpboot.c
index
352f0ce
..
a335abd
100644
(file)
--- a/
arch/x86/kernel/smpboot.c
+++ b/
arch/x86/kernel/smpboot.c
@@
-552,7
+552,7
@@
static int x86_core_flags(void)
#ifdef CONFIG_SCHED_SMT
static int x86_smt_flags(void)
{
- return cpu_smt_flags()
| x86_sched_itmt_flags()
;
+ return cpu_smt_flags();
}
#endif
#ifdef CONFIG_SCHED_CLUSTER