lkml.org 
[lkml]   [2024]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@huawei.com>

I actually liked the previous (ENOMEM) version slightly more,
but this one works too.

Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev>

Thanks!

\
 
 \ /
  Last update: 2024-05-27 18:19    [W:0.214 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site