Message ID | 20200604171829.2a2P11QAF%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] mm-call-cond_resched-from-deferred_init_memmap.patch removed from -mm tree | expand |
--- a/mm/page_alloc.c~mm-call-cond_resched-from-deferred_init_memmap +++ a/mm/page_alloc.c @@ -1870,7 +1870,7 @@ static int __init deferred_init_memmap(v */ while (spfn < epfn) { nr_pages += deferred_init_maxorder(&i, zone, &spfn, &epfn); - touch_nmi_watchdog(); + cond_resched(); } zone_empty: /* Sanity check that the next zone really is unpopulated */