diff --git a/mm/page_ext.c b/mm/page_ext.c index 714ce79256c541e25840aea71e3f9b071988562d..32f18911dedabfa7fc0cda117686f582cc44ebe9 100644 --- a/mm/page_ext.c +++ b/mm/page_ext.c @@ -406,6 +406,7 @@ void __init page_ext_init(void) continue; if (init_section_page_ext(pfn, nid)) goto oom; + cond_resched(); } } hotplug_memory_notifier(page_ext_callback, 0);