Re: [RFC PATCH 1/5] mm/page_ext: resurrect struct page extending code for debugging

From: Dave Hansen
Date: Wed Nov 12 2014 - 11:33:49 EST


On 11/12/2014 12:27 AM, Joonsoo Kim wrote:
> @@ -1092,6 +1096,14 @@ struct mem_section {
>
> /* See declaration of similar field in struct zone */
> unsigned long *pageblock_flags;
> +#ifdef CONFIG_PAGE_EXTENSION
> + /*
> + * If !SPARSEMEM, pgdat doesn't have page_ext pointer. We use
> + * section. (see page_ext.h about this.)
> + */
> + struct page_ext *page_ext;
> + unsigned long pad;
> +#endif

Will the distributions be amenable to enabling this? If so, I'm all for
it if it gets us things like page_owner at runtime.

If not, this becomes of much more questionable utility.
--
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/