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@xxxxxxxxxx> I also slightly preferred the -ENOMEM version. But this is better than the status quo. Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>