Re: [PATCH v7 3/3] sched/fair: Allocate both cfs_tg_state with percpu allocator

From: Zecheng Li

Date: Tue Jan 20 2026 - 16:32:15 EST


Hi Prateek,

On Mon, Jan 19, 2026 at 2:17 AM K Prateek Nayak <kprateek.nayak@xxxxxxx> wrote:
>
> Can we also optimize the CONFIG_RT_GROUP_SCHED stuff in the same way
> although I'm assuming the benefit is far less since they aren't
> accessed as frequently as the cfs bits. Something like:
> ...

Thanks for the review. For patch 1 and 2, I'll fix those in v8.

For the RT structs optimization, I agree this would be a nice
improvement for consistency. I'd like to propose handling it as a
follow-up series after this CFS series. I don't currently have a good
test environment for RT workloads to validate performance impact.

Thanks,
Zecheng