As CONFIG_DEBUG_PAGEALLOC can be enabled/disabled via kernel parameters we can optimize some cases by checking the enablement state. This is follow-up work for Christian's Optimize CONFIG_DEBUG_PAGEALLOC. https://lkml.org/lkml/2016/1/27/194 I can't test patches for sound, power and tile, so please review them, maintainers. :) Remaining work is to make sparc to be aware of this but it looks not easy for me so I skip that in this series. It would be the best that these paches are routed through Andrew's tree, because there is a dependency to MM. Thanks. Joonsoo Kim (5): mm/vmalloc: query dynamic DEBUG_PAGEALLOC setting mm/slub: query dynamic DEBUG_PAGEALLOC setting sound: query dynamic DEBUG_PAGEALLOC setting powerpc: query dynamic DEBUG_PAGEALLOC setting tile: query dynamic DEBUG_PAGEALLOC setting arch/powerpc/kernel/traps.c | 5 ++--- arch/powerpc/mm/hash_utils_64.c | 40 ++++++++++++++++++++-------------------- arch/powerpc/mm/init_32.c | 8 ++++---- arch/tile/mm/init.c | 11 +++++++---- mm/slub.c | 11 ++++++----- mm/vmalloc.c | 8 ++++---- sound/drivers/pcsp/pcsp.c | 9 +++++---- 7 files changed, 48 insertions(+), 44 deletions(-) -- 1.9.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>