Re: [PATCH v2] mm: memcontrol: Simplify the mem_cgroup_page_lruvec

From: Michal Hocko
Date: Thu Oct 29 2020 - 05:09:01 EST


On Wed 28-10-20 11:50:13, Muchun Song wrote:
[...]
> -struct lruvec *mem_cgroup_page_lruvec(struct page *page, struct pglist_data *pgdat)
> +static struct lruvec *
> +__mem_cgroup_node_lruvec(struct mem_cgroup *memcg, struct pglist_data *pgdat,
> + int nid)

I thought I have made it clear that this is not a good approach. Please
do not repost new version without that being addressed. If there are any
questions then feel free to ask for details.
--
Michal Hocko
SUSE Labs