Message ID | 20200822172949.Wq3aZGSbO%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] mm-vunmap-add-cond_resched-in-vunmap_pmd_range.patch removed from -mm tree | expand |
--- a/mm/vmalloc.c~mm-vunmap-add-cond_resched-in-vunmap_pmd_range +++ a/mm/vmalloc.c @@ -104,6 +104,8 @@ static void vunmap_pmd_range(pud_t *pud, if (pmd_none_or_clear_bad(pmd)) continue; vunmap_pte_range(pmd, addr, next, mask); + + cond_resched(); } while (pmd++, addr = next, addr != end); }