From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by kanga.kvack.org (Postfix) with ESMTP id 9F1EA6B0253 for ; Fri, 29 Jan 2016 12:58:02 -0500 (EST) Received: by mail-wm0-f46.google.com with SMTP id l66so64987306wml.0 for ; Fri, 29 Jan 2016 09:58:02 -0800 (PST) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id mn4si23556106wjc.49.2016.01.29.09.58.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jan 2016 09:58:01 -0800 (PST) From: Johannes Weiner Subject: [PATCH v2 0/5] mm: workingset: per-cgroup thrash detection Date: Fri, 29 Jan 2016 12:54:02 -0500 Message-Id: <1454090047-1790-1-git-send-email-hannes@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Vladimir Davydov , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Hi, this is v2 of the per-cgroup thrash detection patches, incorporating Vladimir's feedback and review tags. These patches tag the page cache radix tree eviction entries with the memcg an evicted page belonged to, thus making per-cgroup LRU reclaim work properly and be as adaptive to new cache workingsets as global reclaim already is. This should have been part of the original thrash detection patch series, but was deferred due to the complexity of those patches. Please consider merging this for v4.6. Thanks, Johannes fs/buffer.c | 14 ++-- fs/xfs/xfs_aops.c | 8 +-- include/linux/memcontrol.h | 72 +++++++++++++++---- include/linux/mmzone.h | 13 ++-- mm/filemap.c | 12 ++-- mm/memcontrol.c | 59 ++++------------ mm/page-writeback.c | 28 ++++---- mm/rmap.c | 8 +-- mm/truncate.c | 6 +- mm/vmscan.c | 26 +++---- mm/workingset.c | 160 +++++++++++++++++++++++++++++++++---------- 11 files changed, 256 insertions(+), 150 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