summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Weiner <jweiner@meta.com>2026-03-02 22:50:15 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-04-05 23:53:16 +0300
commit9d181e47098d6911f4a5b3d9feff60c2bf6786a2 (patch)
tree2606a223af4216e8f70f438a4a1b4d0e3c25e3ea /include/linux
parent9f2541d9b2fc1ee86415b8d41f6a19cb2a582aac (diff)
downloadlinux-9d181e47098d6911f4a5b3d9feff60c2bf6786a2.tar.xz
mm: memcg: simplify objcg charge size and stock remainder math
Use PAGE_ALIGN() and a more natural cache remainder calculation. Link: https://lkml.kernel.org/r/20260302195305.620713-3-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: 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/linux')
0 files changed, 0 insertions, 0 deletions