lkml.org 
[lkml]   [2022]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] psi: dont alloc memory for psi by default
On Thu, May 26, 2022 at 08:26:56PM +0800, Chen Wandun wrote:
> Memory about struct psi_group is allocated by default for
> each cgroup even if psi_disabled is true, in this case, these
> allocated memory is waste, so alloc memory for struct psi_group
> only when psi_disabled is false.
>
> Signed-off-by: Chen Wandun <chenwandun@huawei.com>

Looks good to me,
Acked-by: Johannes Weiner <hannes@cmpxchg.org>

Tejun, would you mind taking this through the cgroup tree?

\
 
 \ /
  Last update: 2022-05-26 18:10    [W:1.486 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site