Re: [PATCH 3/5] mm: memcontrol: split out __obj_cgroup_charge()
From: Hao Li
Date: Tue Mar 03 2026 - 03:07:26 EST
On Mon, Mar 02, 2026 at 02:50:16PM -0500, Johannes Weiner wrote:
> Move the page charge and remainder calculation into its own
> function. It will make the slab stat refactor easier to follow.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> ---
> mm/memcontrol.c | 21 ++++++++++++++++-----
> 1 file changed, 16 insertions(+), 5 deletions(-)
>
Looks good to me.
Reviewed-by: Hao Li <hao.li@xxxxxxxxx>