Re: [PATCH 6/9] sched/psi: save percpu memory when !psi_cgroups_enabled

Johannes Weiner
2022-07-25T16:47:53Z

On Thu, Jul 21, 2022 at 12:04:36PM +0800, Chengming Zhou wrote:
> We won't use cgroup psi_group when !psi_cgroups_enabled, so don't
> bother to alloc percpu memory and init for it.
>
> Also don't need to migrate task PSI stats between cgroups in
> cgroup_move_task().
>
> Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>

Acked-by: Johannes Weiner <hannes@cmpxchg.org>