[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201130200922.GA23216@cmpxchg.org>
Date: Mon, 30 Nov 2020 15:09:22 -0500
From: Johannes Weiner <hannes@...xchg.org>
To: Shakeel Butt <shakeelb@...gle.com>
Cc: Roman Gushchin <guro@...com>, Michal Hocko <mhocko@...e.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mm: move lruvec stats update functions to vmstat.h
On Wed, Nov 25, 2020 at 04:56:02PM -0800, Shakeel Butt wrote:
> This patch does not change any functionality and only move the functions
> which update the lruvec stats to vmstat.h from memcontrol.h. The main
> reason for this patch is to be able to use these functions in the page
> table contructor function which is defined in mm.h and we can not
> include the memcontrol.h in that file.
>
> Signed-off-by: Shakeel Butt <shakeelb@...gle.com>
This is a better place for this interface in general. The lruvec
abstraction, while invented for memcg, isn't specific to memcg at all.
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists