Re: [PATCH] mm/memcontrol:rewrite mem_cgroup_page_lruvec()
From: Johannes Weiner
Date: Thu Nov 05 2020 - 10:55:20 EST
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 <sh_def@xxxxxxx>
Nice.
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>