Re: [PATCH v3 -next] mm: memcg: make alloc_mem_cgroup_per_node_info() return bool

From: Shakeel Butt
Date: Tue May 07 2024 - 10:02:30 EST


On Tue, May 07, 2024 at 01:23:24PM +0000, Xiu Jianfeng wrote:
> alloc_mem_cgroup_per_node_info() returns int that doesn't map to any
> errno error code. The only existing caller doesn't really need an error
> code so change the the function to return bool (true on success) because
> this is slightly less confusing and more consistent with the other code.
>
> Signed-off-by: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
> Acked-by: Michal Hocko <mhocko@xxxxxxxx>

Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>