Re: [PATCH 6/9] sched/psi: save percpu memory when !psi_cgroups_enabled
From: Johannes Weiner
Date: Mon Jul 25 2022 - 12:47:53 EST
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@xxxxxxxxxxxxx>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>