Messages in this thread | | | Date | Tue, 7 May 2024 09:09:33 -0700 | From | Roman Gushchin <> | Subject | Re: [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!
| |