Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755968Ab1FDKLO (ORCPT ); Sat, 4 Jun 2011 06:11:14 -0400 Received: from mail-px0-f179.google.com ([209.85.212.179]:64755 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754073Ab1FDKLN (ORCPT ); Sat, 4 Jun 2011 06:11:13 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QubUeqBt6y3ojNKMaOcCfvBXhOL+ktvThVSt68qVwQCzoKNU3gAAGkp4XLWoeghnAs YkvZ11HphobWcxHGUpVNXJJypfbYRFzOhi/CWrrBpP5BQsMYA5oWaKHKucDN5z7my7h4 KKUmMd3Xe17LRCh+hpJ7QQT8n7dgRC7hpUEHA= Date: Sat, 4 Jun 2011 19:11:01 +0900 From: Minchan Kim To: Greg Thelen Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, containers@lists.osdl.org, linux-fsdevel@vger.kernel.org, Andrea Righi , Balbir Singh , KAMEZAWA Hiroyuki , Daisuke Nishimura , Johannes Weiner , Ciju Rajan K , David Rientjes , Wu Fengguang , Vivek Goyal , Dave Chinner Subject: Re: [PATCH v8 04/12] memcg: add dirty page accounting infrastructure Message-ID: <20110604101100.GC4731@barrios-laptop> References: <1307117538-14317-1-git-send-email-gthelen@google.com> <1307117538-14317-5-git-send-email-gthelen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307117538-14317-5-git-send-email-gthelen@google.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 909 Lines: 22 On Fri, Jun 03, 2011 at 09:12:10AM -0700, Greg Thelen wrote: > Add memcg routines to count dirty, writeback, and unstable_NFS pages. > These routines are not yet used by the kernel to count such pages. A > later change adds kernel calls to these new routines. > > As inode pages are marked dirty, if the dirtied page's cgroup differs > from the inode's cgroup, then mark the inode shared across several > cgroup. > > Signed-off-by: Greg Thelen > Signed-off-by: Andrea Righi > Reviewed-by: KAMEZAWA Hiroyuki Reviewed-by: Minchan Kim -- Kind regards Minchan Kim -- 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/