From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752038AbbLHSeo (ORCPT ); Tue, 8 Dec 2015 13:34:44 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:48410 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751701AbbLHSen (ORCPT ); Tue, 8 Dec 2015 13:34:43 -0500 From: Johannes Weiner To: Andrew Morton Cc: Michal Hocko , Vladimir Davydov , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: [PATCH 0/8] mm: memcontrol: account "kmem" in cgroup2 Date: Tue, 8 Dec 2015 13:34:17 -0500 Message-Id: <1449599665-18047-1-git-send-email-hannes@cmpxchg.org> X-Mailer: git-send-email 2.6.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by kanga.kvack.org (Postfix) with ESMTP id 2FFDF6B0253 for ; Tue, 8 Dec 2015 13:34:42 -0500 (EST) Received: by wmuu63 with SMTP id u63so192227859wmu.0 for ; Tue, 08 Dec 2015 10:34:41 -0800 (PST) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id kl9si5933128wjb.30.2015.12.08.10.34.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2015 10:34:41 -0800 (PST) From: Johannes Weiner Subject: [PATCH 0/8] mm: memcontrol: account "kmem" in cgroup2 Date: Tue, 8 Dec 2015 13:34:17 -0500 Message-Id: <1449599665-18047-1-git-send-email-hannes@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Michal Hocko , Vladimir Davydov , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com 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(-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Weiner Subject: [PATCH 0/8] mm: memcontrol: account "kmem" in cgroup2 Date: Tue, 8 Dec 2015 13:34:17 -0500 Message-ID: <1449599665-18047-1-git-send-email-hannes@cmpxchg.org> Return-path: Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrew Morton Cc: Michal Hocko , Vladimir Davydov , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-team-b10kYP2dOMg@public.gmane.org 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(-)