Re: [PATCH v4 4/4] x86: also use debug_pagealloc_enabled() for free_init_pages

From: David Rientjes
Date: Wed Feb 03 2016 - 17:50:41 EST


On Wed, 3 Feb 2016, Christian Borntraeger wrote:

> we want to couple all debugging features with debug_pagealloc_enabled()
> and not with the config option CONFIG_DEBUG_PAGEALLOC.
>
> Suggested-by: David Rientjes <rientjes@xxxxxxxxxx>
> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

[+Joonsoo]

Joonso has indicated that he will work on converting other code using
CONFIG_DEBUG_PAGEALLOC to instead consider debug_pagealloc_enabled(), so
more work in this area will probably be forthcoming.