Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756323Ab3EQQ5U (ORCPT ); Fri, 17 May 2013 12:57:20 -0400 Received: from mail-qe0-f51.google.com ([209.85.128.51]:38722 "EHLO mail-qe0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756139Ab3EQQ5S (ORCPT ); Fri, 17 May 2013 12:57:18 -0400 Date: Fri, 17 May 2013 09:57:12 -0700 From: Tejun Heo To: Johannes Weiner Cc: Michal Hocko , Andrew Morton , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, KAMEZAWA Hiroyuki , Ying Han , Hugh Dickins , Glauber Costa , Michel Lespinasse , Greg Thelen , Balbir Singh Subject: Re: [patch v3 -mm 1/3] memcg: integrate soft reclaim tighter with zone shrinking code Message-ID: <20130517165712.GB12632@mtj.dyndns.org> References: <1368431172-6844-1-git-send-email-mhocko@suse.cz> <1368431172-6844-2-git-send-email-mhocko@suse.cz> <20130517160247.GA10023@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130517160247.GA10023@cmpxchg.org> 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 Content-Length: 692 Lines: 20 Hello, Johannes. On Fri, May 17, 2013 at 12:02:47PM -0400, Johannes Weiner wrote: > There are setups with thousands of groups that do not even use soft > limits. Having them pointlessly iterate over all of them for every > couple of pages reclaimed is just not acceptable. Hmmm... if the iteration is the problem, it shouldn't be difficult to build list of children which should be iterated. Would that make it acceptable? Thanks. -- tejun -- 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/