[Devel] Re: a room for blkio-cgroup in struct page_cgroup
Balbir Singh
balbir at linux.vnet.ibm.com
Wed Sep 2 13:02:24 PDT 2009
2009/9/2 KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>:
> 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.
>> <<snip>>
>>> --- 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.
>
The diff above is unclear, are you removing struct page from page_cgroup?
Balbir Singh
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list