From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754262Ab2AQOHQ (ORCPT ); Tue, 17 Jan 2012 09:07:16 -0500 Received: from cantor2.suse.de ([195.135.220.15]:57703 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753487Ab2AQOHO (ORCPT ); Tue, 17 Jan 2012 09:07:14 -0500 Date: Tue, 17 Jan 2012 15:07:12 +0100 From: Michal Hocko To: Hillf Danton Cc: linux-mm@kvack.org, Johannes Weiner , KAMEZAWA Hiroyuki , Hugh Dickins , Andrew Morton , LKML Subject: Re: [PATCH] mm: memcg: remove checking reclaim order in soft limit reclaim Message-ID: <20120117140712.GC14907@tiehlicka.suse.cz> References: <20120117131601.GB14907@tiehlicka.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 17-01-12 21:29:52, Hillf Danton wrote: > On Tue, Jan 17, 2012 at 9:16 PM, Michal Hocko wrote: > > Hi, > > > > On Tue 17-01-12 20:47:59, Hillf Danton wrote: > >> If async order-O reclaim expected here, it is settled down when setting up scan > >> control, with scan priority hacked to be zero. Other than that, deny of reclaim > >> should be removed. > > > > Maybe I have misunderstood you but this is not right. The check is to > > protect from the _global_ reclaim with order > 0 when we prevent from > > memcg soft reclaim. > > > need to bear mm hog in this way? Could you be more specific? Are you trying to fix any particular problem? Global reclaim should take are of the global memory pressure. Soft reclaim is intended just to make its job easier. Btw. softlimit reclaim is on its way out of the kernel but this will not happen in 3.3. > > Thanks > Hillf > > -- > 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/ . > Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ > Don't email: email@kvack.org -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic