diff options
author | Xiu Jianfeng <[email protected]> | 2024-05-07 13:23:24 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-05-11 15:41:36 -0700 |
commit | a8248bb72fed5888bc3a0c7a4c97eb358906d7ea (patch) | |
tree | 17825903adfa7a6a18be9dde1bfc8f6ed4413def /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3b15f9d1c22dfe82efd03cb7acc2eeb557c735b5 (diff) |
mm: memcg: make alloc_mem_cgroup_per_node_info() return bool
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 function to return bool (true on success) because this is
slightly less confusing and more consistent with the other code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Xiu Jianfeng <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions