]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9b78516b7692fa94d83cb2922c2d0a6f79db69e
tree8c5e546809949504c72efd4aca15c9d4ffbca1b5
parentf7d1936147b6ac5f7336dc6063c40f8f242c7d73
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