From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756918AbcBIXQW (ORCPT ); Tue, 9 Feb 2016 18:16:22 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:57622 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756694AbcBIXP7 (ORCPT ); Tue, 9 Feb 2016 18:15:59 -0500 Date: Tue, 9 Feb 2016 18:15:05 -0500 From: Johannes Weiner To: Vladimir Davydov Cc: Andrew Morton , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/6] mm: workingset: make shadow node shrinker memcg aware Message-ID: <20160209231505.GB32427@cmpxchg.org> References: <958fc0b9f99f5cabbc3c1f6133a615239d9c05ff.1455025246.git.vdavydov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <958fc0b9f99f5cabbc3c1f6133a615239d9c05ff.1455025246.git.vdavydov@virtuozzo.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2016 at 04:55:54PM +0300, Vladimir Davydov wrote: > Workingset code was recently made memcg aware, but shadow node shrinker > is still global. As a result, one small cgroup can consume all memory > available for shadow nodes, possibly hurting other cgroups by reclaiming > their shadow nodes, even though reclaim distances stored in its shadow > nodes have no effect. To avoid this, we need to make shadow node > shrinker memcg aware. > > Signed-off-by: Vladimir Davydov w00t! Acked-by: Johannes Weiner