Re: [PATCH 9/12] memcg allocate all page_cgroup at boot

From: Dave Hansen
Date: Thu Sep 25 2008 - 14:41:24 EST


On Thu, 2008-09-25 at 15:32 +0900, KAMEZAWA Hiroyuki wrote:
> @@ -949,6 +953,11 @@ struct mem_section {
>
> /* See declaration of similar field in struct zone */
> unsigned long *pageblock_flags;
> +#ifdef CONFIG_CGROUP_MEM_RES_CTLR
> + /* see page_cgroup.h */
> + struct page_cgroup *page_cgroup;
> + unsigned long pad;
> +#endif
> };

I thought the use of this variable was under the

+#ifdef CONFIG_FLAT_NODE_MEM_MAP

options. Otherwise, we unconditionally bloat mem_section, right?

-- Dave

--
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/