mm: memcontrol: use generic mod_memcg_page_state for kmem pages
authorJohannes Weiner <[email protected]>
Thu, 6 Jul 2017 22:40:49 +0000 (15:40 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:35 +0000 (16:24 -0700)
commited52be7bfd45533b194b429f43361493d24599a7
tree2b1ab7d515cfa34eafe21851251ccf20268c60fd
parent320492961c1cf21da5547b00c23e525851c1d16f
mm: memcontrol: use generic mod_memcg_page_state for kmem pages

The kmem-specific functions do the same thing.  Switch and drop.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: Vladimir Davydov <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
kernel/fork.c
mm/slab.h