public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix NUMA sched domain build errors for GNR and CWF
@ 2025-09-05 18:36 Tim Chen
  2025-09-05 18:36 ` [PATCH v2 1/2] sched: Create architecture specific sched domain distances Tim Chen
  2025-09-05 18:36 ` [PATCH v2 2/2] sched: Fix sched domain build error for GNR, CWF in SNC-3 mode Tim Chen
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Chen @ 2025-09-05 18:36 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar
  Cc: Tim Chen, Juri Lelli, Dietmar Eggemann, Ben Segall, Mel Gorman,
	Valentin Schneider, Tim Chen, Vincent Guittot, Libo Chen, Abel Wu,
	Len Brown, linux-kernel, Chen Yu, K Prateek Nayak,
	Gautham R . Shenoy, Zhao Liu, Vinicius Costa Gomes,
	Arjan Van De Ven

While testing Granite Rapids (GNR) and Clearwater Forest (CWF) in
SNc-3 mode, we encountered sched domain build errors reported in dmesg.
Asymmetric node distances from local node to to nodes in remote package
was not expected by the scheduler domain code and also led to excessive
number of sched domain hierarchy levels.

Simplify the remote node distances for the purpose of building sched
domains for GNR and CWF to fix the domain build errors and reduce
the number of NUMA sched domain levels.

Changes in v2:
- Allow modification of NUMA distances by architecture to be the
  sched domain NUMA distances for building sched domains to
  simplify NUMA domains.
  Maintain separate NUMA distances for the purpose of building
  sched domains from actual NUMA distances.
- Use average remote node distance as the distance to nodes in remote
  packages for GNR and CWF.
- Remove the original fix for topology_span_sane() that's superseded
  by better fix from Pratek.
  https://lore.kernel.org/lkml/175688671425.1920.13690753997160836570.tip-bot2@tip-bot2/.
- Link to v1: https://lore.kernel.org/lkml/cover.1755893468.git.tim.c.chen@linux.intel.com/


Tim Chen (2):
  sched: Create architecture specific sched domain distances
  sched: Fix sched domain build error for GNR, CWF in SNC-3 mode

 arch/x86/kernel/smpboot.c      |  28 ++++++++
 include/linux/sched/topology.h |   2 +
 kernel/sched/topology.c        | 118 ++++++++++++++++++++++++++++-----
 3 files changed, 131 insertions(+), 17 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-08 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 18:36 [PATCH v2 0/2] Fix NUMA sched domain build errors for GNR and CWF Tim Chen
2025-09-05 18:36 ` [PATCH v2 1/2] sched: Create architecture specific sched domain distances Tim Chen
2025-09-07 16:28   ` Chen, Yu C
2025-09-08 18:23     ` Tim Chen
2025-09-05 18:36 ` [PATCH v2 2/2] sched: Fix sched domain build error for GNR, CWF in SNC-3 mode Tim Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox