Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753537AbZDPMPD (ORCPT ); Thu, 16 Apr 2009 08:15:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751141AbZDPMOv (ORCPT ); Thu, 16 Apr 2009 08:14:51 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:33169 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbZDPMOv (ORCPT ); Thu, 16 Apr 2009 08:14:51 -0400 Date: Thu, 16 Apr 2009 17:44:07 +0530 From: Balbir Singh To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton Subject: Re: [PATCH] Add file based RSS accounting for memory resource controller (v2) Message-ID: <20090416121407.GH7082@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <20090415120510.GX7082@balbir.in.ibm.com> <20090416095303.b4106e9f.kamezawa.hiroyu@jp.fujitsu.com> <20090416015955.GB7082@balbir.in.ibm.com> <20090416110246.c3fef293.kamezawa.hiroyu@jp.fujitsu.com> <20090416164036.03d7347a.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20090416164036.03d7347a.kamezawa.hiroyu@jp.fujitsu.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 21 * KAMEZAWA Hiroyuki [2009-04-16 16:40:36]: > 2. In above, "mem" shouldn't be got from "mm"....please get "mem" from page_cgroup. > (Because it's file cache, pc->mem_cgroup is not NULL always.) > > I saw this very easily. > == > Cache: 4096 > mapped_file: 20480 > == > May I ask how and what was expected? -- Balbir -- 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/