Re: [PATCH 5/5] sched/fair: Make asym CPU capacity idle rank values self-documenting

From: K Prateek Nayak

Date: Fri Apr 24 2026 - 00:30:05 EST


Hello Andrea,

On 4/23/2026 1:06 PM, Andrea Righi wrote:
> From: K Prateek Nayak <kprateek.nayak@xxxxxxx>
>
> Introduce enum asym_fits_state for select_idle_capacity() scan
> preferences, instead of using raw constants to improve readability.
>
> No functional change.
>
> Signed-off-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>

All I did was suggest an enum; You did all the work on this :-)
I think this can be squashed into Patch 3 and that way we have we
can avoid the magic numbers from the get-go. Thoughts?

--
Thanks and Regards,
Prateek