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 <[email protected]>
> Reviewed-by: Thomas Gleixner <[email protected]>

Acked-by: David Rientjes <[email protected]>

Reply via email to