Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753060AbbHCMEj (ORCPT ); Mon, 3 Aug 2015 08:04:39 -0400 Received: from relay.parallels.com ([195.214.232.42]:42506 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752199AbbHCMEi (ORCPT ); Mon, 3 Aug 2015 08:04:38 -0400 From: Vladimir Davydov To: Andrew Morton CC: Johannes Weiner , Michal Hocko , Minchan Kim , Rik van Riel , Mel Gorman , , Subject: [PATCH 0/3] Make workingset detection logic memcg aware Date: Mon, 3 Aug 2015 15:04:20 +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 US-EXCH2.sw.swsoft.com (10.255.249.46) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 33 Hi, Currently, workingset detection logic is not memcg aware - inactive_age is maintained per zone. As a result, if memory cgroups are used, refaulted file pages are activated randomly. This patch set makes inactive_age per lruvec so that workingset detection will work correctly for memory cgroup reclaim. Thanks, Vladimir Davydov (3): mm: move workingset_activation under lru_lock mm: make workingset detection logic memcg aware mm: workingset: make shadow node shrinker memcg aware include/linux/list_lru.h | 1 - include/linux/mmzone.h | 7 ++++--- include/linux/swap.h | 2 +- mm/filemap.c | 2 +- mm/internal.h | 1 + mm/swap.c | 5 +++-- mm/vmscan.c | 2 +- mm/workingset.c | 34 +++++++++++++++++++++++----------- 8 files changed, 34 insertions(+), 20 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/