Re: [patch V4 13/20] sched/mmcid: Provide precomputed maximal value
From: Mathieu Desnoyers
Date: Mon Nov 17 2025 - 12:01:58 EST
On 2025-11-16 15:48, Thomas Gleixner wrote:
Reading mm::mm_users and mm:::mm_cid::nr_cpus_allowed every time to compute
the maximal CID value is just wasteful as that value is only changing on
fork(), exit() and eventually when the affinity changes.
[...]
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com