As discussed last week with Michal Hocko, I am sending this as a separate patch: https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/msg1528267.html This patch farther improves deferred page initialization by enabling future mult-threading, covering some corner cases, and simplifies the logic and modularity. Tested with qemu, and on bare metal with kexec, and regular reboots. Pavel Tatashin (1): mm: split deferred_init_range into initializing and freeing parts mm/page_alloc.c | 146 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 76 insertions(+), 70 deletions(-) -- 2.15.0 -- 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>