Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934576AbbLQMaT (ORCPT ); Thu, 17 Dec 2015 07:30:19 -0500 Received: from relay.parallels.com ([195.214.232.42]:53873 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbbLQMaR (ORCPT ); Thu, 17 Dec 2015 07:30:17 -0500 From: Vladimir Davydov To: Andrew Morton CC: Johannes Weiner , Michal Hocko , , , Subject: [PATCH v2 0/7] Add swap accounting to cgroup2 Date: Thu, 17 Dec 2015 15:29:53 +0300 Message-ID: X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: US-EXCH2.sw.swsoft.com (10.255.249.46) To MSK-EXCH1.sw.swsoft.com (10.67.48.55) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1463 Lines: 41 Hi, This is v2 of the patch set introducing swap accounting to cgroup2. For a detailed description and rationale please see patches 1 and 7. v1 can be found here: https://lwn.net/Articles/667472/ v2 mostly addresses comments by Johannes. For the detailed changelog, see individual patches. Thanks, Vladimir Davydov (7): mm: memcontrol: charge swap to cgroup2 mm: vmscan: pass memcg to get_scan_count() mm: memcontrol: replace mem_cgroup_lruvec_online with mem_cgroup_online swap.h: move memcg related stuff to the end of the file mm: vmscan: do not scan anon pages if memcg swap limit is hit mm: free swap cache aggressively if memcg swap is full Documentation: cgroup: add memory.swap.{current,max} description Documentation/cgroup.txt | 33 ++++++++++ include/linux/memcontrol.h | 28 ++++----- include/linux/swap.h | 76 ++++++++++++++-------- mm/memcontrol.c | 154 ++++++++++++++++++++++++++++++++++++++++++--- mm/memory.c | 3 +- mm/shmem.c | 4 ++ mm/swap_state.c | 5 ++ mm/swapfile.c | 6 +- mm/vmscan.c | 26 ++++---- 9 files changed, 265 insertions(+), 70 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/