Re: [PATCH v3 1/8] sched/topology: Compute sd_weight considering cpuset partitions
From: Shrikanth Hegde
Date: Wed Jan 21 2026 - 10:42:39 EST
On 1/20/26 5:02 PM, K Prateek Nayak wrote:
The "sd_weight" used for calculating the load balancing interval, and
its limits, considers the span weight of the entire topology level
without accounting for cpuset partitions.
Please add one example showing the wrong sd_weights
while having cpuset partitions. That would be helpful.
Compute the "sd_weight" after computing the "sd_span" considering the
cpu_map covered by the partition, and set the load balancing interval,
and its limits accordingly.
Fixes: cb83b629bae03 ("sched/numa: Rewrite the CONFIG_NUMA sched domain support")
Signed-off-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>
---
Changelog rfc v2..v3:
o New patch.
---
Reviewed-by: Shrikanth Hegde <sshegde@xxxxxxxxxxxxx>