2020-11-05 15:59:32

by Johannes Weiner

[permalink] [raw]
Subject: Re: [PATCH] mm/memcontrol:rewrite mem_cgroup_page_lruvec()

On Wed, Nov 04, 2020 at 10:25:16PM +0800, Hui Su wrote:
> mem_cgroup_page_lruvec() in memcontrol.c and
> mem_cgroup_lruvec() in memcontrol.h is very similar
> except for the param(page and memcg) which also can be
> convert to each other.
>
> So rewrite mem_cgroup_page_lruvec() with mem_cgroup_lruvec().
>
> Signed-off-by: Hui Su <[email protected]>

Nice.

Acked-by: Johannes Weiner <[email protected]>