summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2026-03-02 22:50:16 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-04-05 23:53:16 +0300
commitedb6abd31bff0746c687cf5af9ecacefaa90e9cb (patch)
treeccaaa2962ac6f9222bb12b9e8c921a928f481146 /include
parent9d181e47098d6911f4a5b3d9feff60c2bf6786a2 (diff)
downloadlinux-edb6abd31bff0746c687cf5af9ecacefaa90e9cb.tar.xz
mm: memcontrol: split out __obj_cgroup_charge()
Move the page charge and remainder calculation into its own function. It will make the slab stat refactor easier to follow. Link: https://lkml.kernel.org/r/20260302195305.620713-4-hannes@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Shakeel Butt <shakeel.butt@linux.dev> Acked-by: Roman Gushchin <roman.gushchin@linux.dev> Reviewed-by: Vlastimil Babka (SUSE) <vbabka@kernel.org> Reviewed-by: Hao Li <hao.li@linux.dev> Cc: Johannes Weiner <jweiner@meta.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: Muchun Song <muchun.song@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions