From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752211AbaEBPLX (ORCPT ); Fri, 2 May 2014 11:11:23 -0400 Received: from cantor2.suse.de ([195.135.220.15]:55573 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751643AbaEBPLW (ORCPT ); Fri, 2 May 2014 11:11:22 -0400 Date: Fri, 2 May 2014 17:11:20 +0200 From: Michal Hocko To: Johannes Weiner Cc: Andrew Morton , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Greg Thelen , Michel Lespinasse , Tejun Heo , Hugh Dickins , Roman Gushchin , LKML , linux-mm@kvack.org Subject: Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim Message-ID: <20140502151120.GN3446@dhcp22.suse.cz> References: <1398688005-26207-1-git-send-email-mhocko@suse.cz> <1398688005-26207-2-git-send-email-mhocko@suse.cz> <20140430225550.GD26041@cmpxchg.org> <20140502093628.GC3446@dhcp22.suse.cz> <20140502120715.GI3446@dhcp22.suse.cz> <20140502130118.GK23420@cmpxchg.org> <20140502141515.GJ3446@dhcp22.suse.cz> <20140502150434.GM23420@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140502150434.GM23420@cmpxchg.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 02-05-14 11:04:34, Johannes Weiner wrote: [...] > > @@ -2236,12 +2246,9 @@ static unsigned __shrink_zone(struct zone *zone, struct scan_control *sc, > > do { > > struct lruvec *lruvec; > > > > - /* > > - * Memcg might be under its low limit so we have to > > - * skip it during the first reclaim round > > - */ > > - if (follow_low_limit && > > - !mem_cgroup_reclaim_eligible(memcg, root)) { > > + /* Memcg might be protected from the reclaim */ > > + if (force_memcg_guarantee && > > respect_? consider_? enforce_ ? -- Michal Hocko SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f50.google.com (mail-ee0-f50.google.com [74.125.83.50]) by kanga.kvack.org (Postfix) with ESMTP id ACFFE6B0036 for ; Fri, 2 May 2014 11:11:23 -0400 (EDT) Received: by mail-ee0-f50.google.com with SMTP id c13so3186906eek.37 for ; Fri, 02 May 2014 08:11:23 -0700 (PDT) Received: from mx2.suse.de (cantor2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id y41si1909814eel.200.2014.05.02.08.11.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 May 2014 08:11:22 -0700 (PDT) Date: Fri, 2 May 2014 17:11:20 +0200 From: Michal Hocko Subject: Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim Message-ID: <20140502151120.GN3446@dhcp22.suse.cz> References: <1398688005-26207-1-git-send-email-mhocko@suse.cz> <1398688005-26207-2-git-send-email-mhocko@suse.cz> <20140430225550.GD26041@cmpxchg.org> <20140502093628.GC3446@dhcp22.suse.cz> <20140502120715.GI3446@dhcp22.suse.cz> <20140502130118.GK23420@cmpxchg.org> <20140502141515.GJ3446@dhcp22.suse.cz> <20140502150434.GM23420@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140502150434.GM23420@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andrew Morton , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Greg Thelen , Michel Lespinasse , Tejun Heo , Hugh Dickins , Roman Gushchin , LKML , linux-mm@kvack.org On Fri 02-05-14 11:04:34, Johannes Weiner wrote: [...] > > @@ -2236,12 +2246,9 @@ static unsigned __shrink_zone(struct zone *zone, struct scan_control *sc, > > do { > > struct lruvec *lruvec; > > > > - /* > > - * Memcg might be under its low limit so we have to > > - * skip it during the first reclaim round > > - */ > > - if (follow_low_limit && > > - !mem_cgroup_reclaim_eligible(memcg, root)) { > > + /* Memcg might be protected from the reclaim */ > > + if (force_memcg_guarantee && > > respect_? consider_? enforce_ ? -- Michal Hocko SUSE Labs -- 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