Re: [PATCH v4 2/4] x86: query dynamic DEBUG_PAGEALLOC setting

From: David Rientjes
Date: Wed Feb 03 2016 - 17:48:37 EST


On Wed, 3 Feb 2016, Christian Borntraeger wrote:

> We can use debug_pagealloc_enabled() to check if we can map
> the identity mapping with 2MB pages. We can also add the state
> into the dump_stack output.
>
> The patch does not touch the code for the 1GB pages, which ignored
> CONFIG_DEBUG_PAGEALLOC. Do we need to fence this as well?
>

I think it would be an extension of the debug_pagealloc= functionality and
can certainly be introduced if someone is inclined.

> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>