Changes since v2 [3]: - Qian Cai suggested that the extra boot option and page_ext ops is unnecessary for a debugging option, unless somebody really complains about the overhead, with numbers. So patch 2 is greatly simplified. These are followups to [1] which made it to Linus meanwhile. Patches 1 and 3 are based on Kirill's review, patch 2 on KASAN request [2]. It would be nice if all of this made it to 5.4 with [1] already there (or at least Patch 1). [1] https://lore.kernel.org/linux-mm/20190820131828.22684-1-vbabka@xxxxxxx/ [2] https://lore.kernel.org/linux-arm-kernel/20190911083921.4158-1-walter-zh.wu@xxxxxxxxxxxx/ [3] https://lore.kernel.org/linux-mm/20190930122916.14969-1-vbabka@xxxxxxx/ Vlastimil Babka (3): mm, page_owner: fix off-by-one error in __set_page_owner_handle() mm, page_owner: decouple freeing stack trace from debug_pagealloc mm, page_owner: rename flag indicating that page is allocated Documentation/dev-tools/kasan.rst | 3 ++ include/linux/page_ext.h | 10 +++++- mm/page_ext.c | 23 +++++-------- mm/page_owner.c | 55 +++++++++++-------------------- 4 files changed, 41 insertions(+), 50 deletions(-) -- 2.23.0