]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Use the NUMA scheduling domain for NUMA optimizations
authorAndrea Righi <arighi@nvidia.com>
Wed, 20 Nov 2024 14:29:03 +0000 (15:29 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 4 Dec 2024 19:49:56 +0000 (09:49 -1000)
commit4572541892ea4e1dade2e9c1313d3f8069d37f0a
tree3cc6854906ee2b235ce987e451d51e819e4f4b64
parentf24d192985cbd6782850fdbb3839039da2f0ee76
sched_ext: Use the NUMA scheduling domain for NUMA optimizations

Rely on the NUMA scheduling domain topology, instead of accessing NUMA
topology information directly.

There is basically no functional change, but in this way we ensure
consistent use of the same topology information determined by the
scheduling subsystem.

Fixes: f6ce6b949304 ("sched_ext: Do not enable LLC/NUMA optimizations when domains overlap")
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c