Files
linux/mm
Guopeng Zhang 08d36b191f mm: memcg-v1: make mem_cgroup_oom_notify_cb() return void
Commit 7d74b06f24 ("memcg: use for_each_mem_cgroup") replaced the
mem_cgroup_walk_tree() call in mem_cgroup_oom_notify() with
for_each_mem_cgroup_tree(), but left mem_cgroup_oom_notify_cb() with the
int return type required by the old callback interface.

The function now has a single direct caller and no failure path.  Make it
return void.

Link: https://lore.kernel.org/20260713093737.3299646-1-guopeng.zhang@linux.dev
Signed-off-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Muchun Song <muchun.song@linux.dev>
Reviewed-by: SJ Park <sj@kernel.org>
Acked-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-08-06 18:56:55 -07:00
..
2026-08-04 19:18:35 -07:00
2026-07-28 21:12:03 -07:00
2026-06-02 15:22:15 -07:00
2026-08-04 19:18:48 -07:00
2026-07-30 19:40:41 -07:00
2026-07-30 19:40:41 -07:00
2026-07-30 19:40:44 -07:00