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

From: Shakeel Butt
Date: Fri Nov 06 2020 - 11:44:46 EST


On Wed, Nov 4, 2020 at 6:26 AM Hui Su <sh_def@xxxxxxx> 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>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>