Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753482Ab1JVJbv (ORCPT ); Sat, 22 Oct 2011 05:31:51 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34021 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792Ab1JVJbu (ORCPT ); Sat, 22 Oct 2011 05:31:50 -0400 Date: Sat, 22 Oct 2011 11:31:48 +0200 From: Michal Hocko To: Ying Han Cc: KAMEZAWA Hiroyuki , "linux-mm@kvack.org" , LKML , Johannes Weiner , Daisuke Nishimura , Hugh Dickins , Andrew Morton , Glauber Costa , Kir Kolyshkin , Pavel Emelianov , GregThelen , "pjt@google.com" , Tim Hockin , Dave Hansen , Paul Menage , James Bottomley Subject: Re: [RFD] Isolated memory cgroups again Message-ID: <20111022093148.GB5497@tiehlicka.suse.cz> References: <20111020013305.GD21703@tiehlicka.suse.cz> <20111021024554.GC2589@tiehlicka.suse.cz> <20111021121759.429d8222.kamezawa.hiroyu@jp.fujitsu.com> 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 Fri 21-10-11 13:00:18, Ying Han wrote: [...] > The logic is based on reclaim priority, and we skip reclaim from certain > memcg(under soft limit) before getting down to DEF_PRIORITY - 3. OK, I guess I remember something from the earlier memcg naturalization patch set discussions. This will still not help much for my case as the bigger memory pressure would cause reclaim also from the soft unlimited group which I would like to prevent. The other thing about soft limit only reclaim from the global reclaim is that currently all created memcgs are soft unlimited by default which might lead to unexpected results. Can we come up with a reasonable soft limit default? [...] -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic