[PATCH 0/8] mm: memcontrol: account "kmem" in cgroup2

Johannes Weiner
2015-12-08T18:34:44Z

Hi,

this series adds accounting of the historical "kmem" memory consumers
to the cgroup2 memory controller.

These consumers include the dentry cache, the inode cache, kernel
stack pages, and a few others that are pointed out in patch 7/8. The
footprint of these consumers is directly tied to userspace activity in
common workloads, and so they have to be part of the minimally viable
configuration in order to present a complete feature to our users.

The cgroup2 interface of the memory controller is far from complete,
but this series, along with the socket memory accounting series,
provides the final semantic changes for the existing memory knobs in
the cgroup2 interface, which is scheduled for initial release in the
next merge window.

Thanks!

include/linux/list_lru.h | 4 +-
include/linux/memcontrol.h | 330 +++++++++++++++++++++--------------------
include/linux/sched.h | 2 -
include/linux/slab.h | 2 +-
include/linux/slab_def.h | 3 +-
include/linux/slub_def.h | 2 +-
include/net/tcp_memcontrol.h | 3 +-
init/Kconfig | 10 +-
mm/list_lru.c | 12 +-
mm/memcontrol.c | 246 ++++++++++++++----------------
mm/slab.h | 6 +-
mm/slab_common.c | 14 +-
mm/slub.c | 10 +-
mm/vmscan.c | 2 +-
net/ipv4/Makefile | 2 +-
net/ipv4/tcp_memcontrol.c | 2 +-
16 files changed, 319 insertions(+), 331 deletions(-)