Messages in this thread | | | Date | Mon, 30 Nov 2020 15:09:22 -0500 | From | Johannes Weiner <> | 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@google.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@cmpxchg.org>
| |