Re: [PATCH 2/5] mm: memcg: simplify objcg charge size and stock remainder math

From: Hao Li

Date: Tue Mar 03 2026 - 03:05:29 EST


On Mon, Mar 02, 2026 at 02:50:15PM -0500, Johannes Weiner wrote:
> From: Johannes Weiner <jweiner@xxxxxxxx>
>
> Use PAGE_ALIGN() and a more natural cache remainder calculation.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> ---
> mm/memcontrol.c | 16 ++++++----------
> 1 file changed, 6 insertions(+), 10 deletions(-)
>

Nice rewrite!
Reviewed-by: Hao Li <hao.li@xxxxxxxxx>