Re: Re: [RFC][PATCH] Remove cgroup member from struct page

From: kamezawa . hiroyu
Date: Tue Sep 09 2008 - 08:31:32 EST


----- Original Message -----
>> Balbir, are you ok to CONFIG_CGROUP_MEM_RES_CTLR depends on CONFIG_SPARSEME
M ?
>> I thinks SPARSEMEM(SPARSEMEM_VMEMMAP) is widely used in various archs now.
>
>Can't we make it more generic. I was thinking of allocating memory for each n
ode
>for page_cgroups (of the size of spanned_pages) at initialization time. I've
not
>yet prototyped the idea. BTW, even with your approach I fail to see why we ne
ed
>to add a dependency on CONFIG_SPARSEMEM (but again it is 4:30 in the morning
and
>I might be missing the obvious)

Doesn't have big issue without CONFIG_SPARSEMEM, maybe.
Sorry for my confusion.

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/