Re: [PATCH v3 1/8] sched/topology: Compute sd_weight considering cpuset partitions
From: Valentin Schneider
Date: Thu Feb 05 2026 - 11:53:43 EST
On 20/01/26 11:32, 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.
>
> 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>
Reviewed-by: Valentin Schneider <vschneid@xxxxxxxxxx>