From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by kanga.kvack.org (Postfix) with ESMTP id 78847900138 for ; Wed, 17 Aug 2011 21:47:59 -0400 (EDT) Received: from m4.gw.fujitsu.co.jp (unknown [10.0.50.74]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id 46BF13EE0C0 for ; Thu, 18 Aug 2011 10:47:54 +0900 (JST) Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 2FC4045DE50 for ; Thu, 18 Aug 2011 10:47:54 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.fujitsu.co.jp [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 18B5F45DE4E for ; Thu, 18 Aug 2011 10:47:54 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 0B2A61DB803B for ; Thu, 18 Aug 2011 10:47:54 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.240.81.133]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id CB63E1DB802F for ; Thu, 18 Aug 2011 10:47:53 +0900 (JST) Date: Thu, 18 Aug 2011 10:40:20 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH v9 13/13] memcg: check memcg dirty limits in page writeback Message-Id: <20110818104020.cb025fe1.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1313597705-6093-14-git-send-email-gthelen@google.com> References: <1313597705-6093-1-git-send-email-gthelen@google.com> <1313597705-6093-14-git-send-email-gthelen@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Greg Thelen Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, containers@lists.osdl.org, linux-fsdevel@vger.kernel.org, Balbir Singh , Daisuke Nishimura , Minchan Kim , Johannes Weiner , Wu Fengguang , Dave Chinner , Vivek Goyal , Andrea Righi , Ciju Rajan K , David Rientjes On Wed, 17 Aug 2011 09:15:05 -0700 Greg Thelen wrote: > If the current process is in a non-root memcg, then > balance_dirty_pages() will consider the memcg dirty limits as well as > the system-wide limits. This allows different cgroups to have distinct > dirty limits which trigger direct and background writeback at different > levels. > > If called with a mem_cgroup, then throttle_vm_writeout() queries the > given cgroup for its dirty memory usage limits. > > Signed-off-by: Andrea Righi > Signed-off-by: Greg Thelen Acked-by: KAMEZAWA Hiroyuki -- 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