]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: use the node-native slab memory counters
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 6 Jul 2017 22:40:46 +0000 (15:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 6 Jul 2017 23:24:35 +0000 (16:24 -0700)
commit8c0679a9287578569ece8f7514a8ae1137afd565
tree1d8f3e4ccec2ba8696b381106799086c7e26c88b
parent43196c0c7b1bfaecddb7278724cca5ada8b9a6ba
mm: memcontrol: use the node-native slab memory counters

Now that the slab counters are moved from the zone to the node level we
can drop the private memcg node stats and use the official ones.

Link: http://lkml.kernel.org/r/20170530181724.27197-4-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c
mm/slab.h