|
@@ -1588,6 +1588,7 @@ static int gather_pte_stats(pmd_t *pmd, unsigned long addr,
|
|
|
|
|
|
} while (pte++, addr += PAGE_SIZE, addr != end);
|
|
} while (pte++, addr += PAGE_SIZE, addr != end);
|
|
pte_unmap_unlock(orig_pte, ptl);
|
|
pte_unmap_unlock(orig_pte, ptl);
|
|
|
|
+ cond_resched();
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
#ifdef CONFIG_HUGETLB_PAGE
|
|
#ifdef CONFIG_HUGETLB_PAGE
|