Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753985AbZICFJc (ORCPT ); Thu, 3 Sep 2009 01:09:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753450AbZICFJc (ORCPT ); Thu, 3 Sep 2009 01:09:32 -0400 Received: from mail.valinux.co.jp ([210.128.90.3]:43432 "EHLO mail.valinux.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753441AbZICFJb (ORCPT ); Thu, 3 Sep 2009 01:09:31 -0400 Date: Thu, 03 Sep 2009 14:09:32 +0900 (JST) Message-Id: <20090903.140932.189713001.ryov@valinux.co.jp> To: kamezawa.hiroyu@jp.fujitsu.com Cc: balbir@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, dm-devel@redhat.com, containers@lists.linux-foundation.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xensource.com, linux-mm@kvack.org Subject: Re: a room for blkio-cgroup in struct page_cgroup From: Ryo Tsuruta In-Reply-To: References: <20090902.205137.71100180.ryov@valinux.co.jp> X-Mailer: Mew version 5.2.52 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1837 Lines: 50 Hi Kamezawa-san, "KAMEZAWA Hiroyuki" wrote: > Ryo Tsuruta wrote: > > Hi Kamezawa-san, > > > > As you wrote before (http://lkml.org/lkml/2009/7/22/65) > >> To be honest, what I expected in these days for people of blockio > >> cgroup is like following for getting room for themselves. > > <> > >> --- mmotm-2.6.31-Jul16.orig/include/linux/page_cgroup.h > >> +++ mmotm-2.6.31-Jul16/include/linux/page_cgroup.h > >> @@ -13,7 +13,7 @@ > >> struct page_cgroup { > >> unsigned long flags; > >> struct mem_cgroup *mem_cgroup; > >> - struct page *page; > >> + /* block io tracking will use extra unsigned long bytes */ > >> struct list_head lru; /* per cgroup LRU list */ > >> }; > > > > Have you already added a room for blkio_cgroup in struct page_cgroup? > No. > > > If not, I would like you to apply the above change to mmotm. > > > Plz wait until October. We're deadly busy and some amount of more important > patches are piled up in front of us. I have no objections if you add > a pointer or id because I know I can reduce 8(4)bytes later. > Just add (a small) member for a while and ignore page_cgroup's size. > I'll fix later. Thank you very much, but I've already added unsigned long member in the last posted patch... > > The latest blkio-cgroup has reflected the comments you pointed out. > > I would also like you to give me any comments on it and consider > > merging blkio-cgroup to mmotm. > > > BTW, do you all have cosensus about implementation ? Not yet, it is under discussion now. Thanks, Ryo Tsuruta -- 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/