[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZjpSPRn5kVErC6s2@P9FQF9L96D.corp.robot.car>
Date: Tue, 7 May 2024 09:09:33 -0700
From: Roman Gushchin <roman.gushchin@...ux.dev>
To: Xiu Jianfeng <xiujianfeng@...wei.com>
Cc: hannes@...xchg.org, mhocko@...nel.org, shakeel.butt@...ux.dev,
muchun.song@...ux.dev, akpm@...ux-foundation.org,
cgroups@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 -next] mm: memcg: make
alloc_mem_cgroup_per_node_info() return bool
On Tue, May 07, 2024 at 11:08:32AM +0000, Xiu Jianfeng wrote:
> Currently alloc_mem_cgroup_per_node_info() returns 1 if failed,
> make it return bool, false for failure and true for success.
>
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
I actually liked the previous (ENOMEM) version slightly more,
but this one works too.
Reviewed-by: Roman Gushchin <roman.gushchin@...ux.dev>
Thanks!
Powered by blists - more mailing lists