Re: [PATCH -next] mm: memcg: use meaningful error code for return value
From: Matthew Wilcox
Date: Mon May 06 2024 - 09:54:01 EST
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.