public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.18 0/2] Fix NUMA sched domain build errors for GNR and CWF
@ 2026-02-05 21:33 Tim Chen
  2026-02-05 21:33 ` [PATCH 6.18 1/2] sched: Create architecture specific sched domain distances Tim Chen
  2026-02-05 21:33 ` [PATCH 6.18 2/2] sched/topology: Fix sched domain build error for GNR, CWF in SNC-3 mode Tim Chen
  0 siblings, 2 replies; 6+ messages in thread
From: Tim Chen @ 2026-02-05 21:33 UTC (permalink / raw)
  To: stable
  Cc: Tim Chen, Peter Zijlstra, Ingo Molnar, Juri Lelli,
	Dietmar Eggemann, Ben Segall, Mel Gorman, Valentin Schneider,
	Tim Chen, Vincent Guittot, 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) systems
in SNC-3 mode, we encountered sched domain build errors in dmesg.
The scheduler domain code did not expect asymmetric node distances
from a local node to multiple nodes in a remote package. As a result,
remote nodes ended up being grouped partially with local nodes with
asymemtric groupings, and creating too many levels in the NUMA sched
domain hierarchy.

To address this, we simplify remote node distances for the purpose of
sched domain construction on GNR and CWF. Specifically, we replace the
individual distances to nodes within the same remote package with their
average distance. This resolves the domain build errors and reduces the
number of NUMA sched domain levels.

The actual SLIT NUMA node distances are still preserved separately, in
case they are needed when building sched domains. NUMA balancing
continues to use the true distances when selecting a closer remote node
for a task’s numa_group.

These patches have been merged upstream.

Thanks,
Tim

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

 arch/x86/kernel/smpboot.c |  70 ++++++++++++++++++++++++
 kernel/sched/topology.c   | 108 ++++++++++++++++++++++++++++++--------
 2 files changed, 156 insertions(+), 22 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2026-02-09 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 21:33 [PATCH 6.18 0/2] Fix NUMA sched domain build errors for GNR and CWF Tim Chen
2026-02-05 21:33 ` [PATCH 6.18 1/2] sched: Create architecture specific sched domain distances Tim Chen
2026-02-05 21:33 ` [PATCH 6.18 2/2] sched/topology: Fix sched domain build error for GNR, CWF in SNC-3 mode Tim Chen
2026-02-07 15:29   ` Greg KH
2026-02-09  3:59     ` K Prateek Nayak
2026-02-09 19:21       ` Tim Chen

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