Message ID | 20200619122555.372957-3-pasha.tatashin@soleen.com |
---|---|
State | New |
Headers | show |
Series | [1/3] mm/pagealloc.c: call touch_nmi_watchdog() on max order boundaries in deferred init | expand |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index b03da51dee5d..d0c0d9364aa6 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1869,7 +1869,7 @@ static int __init deferred_init_memmap(void *data) */ 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 */