Re: [patch V3 08/20] sched/mmcid: Use cpumask_weighted_or()

Mathieu Desnoyers
2025-10-29T15:51:13Z

On 2025-10-29 09:09, Thomas Gleixner wrote:
> Use cpumask_weighted_or() instead of cpumask_or() and cpumask_weight() on
> the result, which walks the same bitmap twice. Results in 10-20% less
> cycles, which reduces the runqueue lock hold time.
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

--
Mathieu Desnoyers
EfficiOS Inc.