summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorLi Chen <chenl311@chinatelecom.cn>2025-07-10 18:57:09 +0800
committerPeter Zijlstra <peterz@infradead.org>2025-07-14 10:59:34 +0200
commitfbc2010d92e595dc13d8048db2419f963c8cb25e (patch)
tree22d389d6cfd6193dc6281d4d30b1b0461512da69 /rust/helpers
parent992de2b02509bed68f693ea5a68b07cd586197b7 (diff)
x86/smpboot: moves x86_topology to static initialize and truncate
The #ifdeffery and the initializers in build_sched_topology() are just disgusting. Statically initialize the domain levels in the topology array and let build_sched_topology() invalidate the package domain level when NUMA in package is available. 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-4-me@linux.beauty
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions