Re: [PATCH -next] mm: memcg: use meaningful error code for return value

From: xiujianfeng
Date: Tue May 07 2024 - 07:17:56 EST




On 2024/5/6 21:53, Matthew Wilcox wrote:
> On Mon, May 06, 2024 at 01:36:43PM +0000, Xiu Jianfeng wrote:
>> alloc_mem_cgroup_per_node_info() returns 1 if failed, use -ENOMEM
>> instead, which is more meaningful.
>
> This should probably be changed to return true/false instead of
> an int.
>
OK, already sent v2.