mm: memcontrol: quarantine the mem_cgroup_[node_]nr_lru_pages() API
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 14 May 2019 00:18:11 +0000 (17:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 May 2019 16:47:47 +0000 (09:47 -0700)
commit113b7dfd827175977ea71cc4a29c1ac24acb9fce
tree8c5e546809949504c72efd4aca15c9d4ffbca1b5
parent21d89d151bb42bea1bcf0343f724ef62509d6161
mm: memcontrol: quarantine the mem_cgroup_[node_]nr_lru_pages() API

Only memcg_numa_stat_show() uses those wrappers and the lru bitmasks,
group them together.

Link: http://lkml.kernel.org/r/20190228163020.24100-7-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Roman Gushchin <guro@fb.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmzone.h
mm/memcontrol.c