From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932727AbcA2R6H (ORCPT ); Fri, 29 Jan 2016 12:58:07 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:55586 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbcA2R6E (ORCPT ); Fri, 29 Jan 2016 12:58:04 -0500 From: Johannes Weiner 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 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> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)