From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 9038B6B0085 for ; Mon, 18 Oct 2010 20:59:16 -0400 (EDT) Received: from m3.gw.fujitsu.co.jp ([10.0.50.73]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id o9J0xEtt012010 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Tue, 19 Oct 2010 09:59:14 +0900 Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id C13D345DE51 for ; Tue, 19 Oct 2010 09:59:13 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id A199B45DE4F for ; Tue, 19 Oct 2010 09:59:13 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 83E191DB8042 for ; Tue, 19 Oct 2010 09:59:13 +0900 (JST) Received: from m108.s.css.fujitsu.com (m108.s.css.fujitsu.com [10.249.87.108]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 3A6261DB803C for ; Tue, 19 Oct 2010 09:59:13 +0900 (JST) Date: Tue, 19 Oct 2010 09:53:47 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [PATCH v3 07/11] memcg: add dirty limits to mem_cgroup Message-Id: <20101019095347.473286af.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1287448784-25684-8-git-send-email-gthelen@google.com> References: <1287448784-25684-1-git-send-email-gthelen@google.com> <1287448784-25684-8-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 To: Greg Thelen Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, containers@lists.osdl.org, Andrea Righi , Balbir Singh , Daisuke Nishimura , Minchan Kim , Ciju Rajan K , David Rientjes List-ID: On Mon, 18 Oct 2010 17:39:40 -0700 Greg Thelen wrote: > Extend mem_cgroup to contain dirty page limits. Also add routines > allowing the kernel to query the dirty usage of a memcg. > > These interfaces not used by the kernel yet. A subsequent commit > will add kernel calls to utilize these new routines. > > Signed-off-by: Greg Thelen > Signed-off-by: Andrea Righi > --- > > Changelog since v1: > - Rename (for clarity): > - mem_cgroup_write_page_stat_item -> mem_cgroup_page_stat_item > - mem_cgroup_read_page_stat_item -> mem_cgroup_nr_pages_item > - Removed unnecessary get_ prefix from get_xxx() functions. > - Avoid lockdep warnings by using rcu_read_[un]lock() in > mem_cgroup_has_dirty_limit(). > 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/ . Don't email: email@kvack.org