[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201109180021.GC2285866@carbon.dhcp.thefacebook.com>
Date: Mon, 9 Nov 2020 10:00:21 -0800
From: Roman Gushchin <guro@...com>
To: Hui Su <sh_def@....com>
CC: <akpm@...ux-foundation.org>, <hannes@...xchg.org>,
<mhocko@...nel.org>, <vdavydov.dev@...il.com>,
<shakeelb@...gle.com>, <laoar.shao@...il.com>,
<chris@...isdown.name>, <linux-kernel@...r.kernel.org>,
<cgroups@...r.kernel.org>, <linux-mm@...ck.org>
Subject: Re: [PATCH v2] mm/memcontrol:rewrite mem_cgroup_page_lruvec()
On Sun, Nov 08, 2020 at 10:37:31PM +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().
>
> v1->v2:
> use page_memcg() instead of 'page->mem_cgroup'.
>
> Acked-by: Michal Hocko <mhocko@...e.com>
> Acked-by: Johannes Weiner <hannes@...xchg.org>
> Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
> Signed-off-by: Hui Su <sh_def@....com>
Acked-by: Roman Gushchin <guro@...com>
Thanks!
Powered by blists - more mailing lists