From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balbir Singh Subject: Re: [RFC] [PATCH] memory controller statistics Date: Tue, 11 Sep 2007 08:09:55 +0530 Message-ID: <46E5FFFB.8020805@linux.vnet.ibm.com> References: <20070907033942.4A6541BFA52@siro.lan> <46E12020.1060203@linux.vnet.ibm.com> <6599ad830709101621r2f1763cfpa0924f884d0ee2c@mail.gmail.com> Reply-To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6599ad830709101621r2f1763cfpa0924f884d0ee2c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Paul Menage Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, minoura-jCdQPDEk3idL9jVzuh4AOg@public.gmane.org, YAMAMOTO Takashi , Linux Memory Management List List-Id: containers.vger.kernel.org Paul Menage wrote: > On 9/7/07, Balbir Singh wrote: >> Thanks for doing this. We are building containerstats for >> per container statistics. It would be really nice to provide >> the statistics using that interface. I am not opposed to >> memory.stat, but Paul Menage recommends that one file has >> just one meaningful value. > > That's based on examples from other virtual filesystems such as sysfs. > Even during the CKRM days (when configfs was used), the recommendation from the configfs folks was the same. I sometimes worry about the extra pinned dentries created with this logic/rule though. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL