Re: [PATCH/RFC 3/3] s390: query dynamic DEBUG_PAGEALLOC setting
From: Vlastimil Babka <hidden>
Date: 2016-01-27 13:03:41
Also in:
linux-arch, linux-s390, lkml
From: Vlastimil Babka <hidden>
Date: 2016-01-27 13:03:41
Also in:
linux-arch, linux-s390, lkml
On 01/27/2016 01:47 PM, Christian Borntraeger wrote:
On 01/27/2016 01:41 PM, Vlastimil Babka wrote:quoted
On 01/27/2016 01:59 AM, Joonsoo Kim wrote: I think it might be worth also to convert debug_pagealloc_enabled() to be based on static key, like I did for page_owner [1]. That should help make it possible to have virtually no overhead when compiling kernel with CONFIG_DEBUG_PAGEALLOC without enabling it boot-time. I assume it's one of the goals here?We could do something like that but dump_stack and setup of the initial identity mapping of the kernel as well as the initial page protection are not hot path as far as I can tell. Any other places?
Well, mostly kernel_map_pages() which is used in page allocation hotpaths.
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>