Skip to content

sched/topology: NUMA distance deduplication

Valentin Schneider lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1sched/topology: Make sched_init_numa() use a set for the deduplicating sortinclude/linux/topology.h kernel/sched/topology.c+49 -5111 replies

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by.

PatchVincent GuittotBarry Song
1/1T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] sched/topology: NUMA distance deduplication

Hi folks,

As pointed out by Barry in [1], there are topologies out there that struggle to go through the NUMA distance deduplicating sort. Included patch is something I wrote back when I started untangling this distance > 2 mess.

It's only been lightly tested on some array of QEMU-powered topologies I keep around for this sort of things. I *think* this works out fine with the NODE topology level, but I wouldn't be surprised if I (re)introduced an off-by-one error in there.

@Barry feel free to test / edit this as you see fit.

[1]: http://lore.kernel.org/r/[email protected]

HTH.

Valentin Schneider (1):
sched/topology: Make sched_init_numa() use a set for the deduplicating
sort

 include/linux/topology.h |  1 +
 kernel/sched/topology.c  | 99 +++++++++++++++++++---------------------
 2 files changed, 49 insertions(+), 51 deletions(-)

--
2.27.0