|
@@ -1426,7 +1426,6 @@ static int gup_huge_pmd(pmd_t orig, pmd_t *pmdp, unsigned long addr,
|
|
|
head = pmd_page(orig);
|
|
|
page = head + ((addr & ~PMD_MASK) >> PAGE_SHIFT);
|
|
|
do {
|
|
|
- VM_BUG_ON_PAGE(compound_head(page) != head, page);
|
|
|
pages[*nr] = page;
|
|
|
(*nr)++;
|
|
|
page++;
|
|
@@ -1465,7 +1464,6 @@ static int gup_huge_pud(pud_t orig, pud_t *pudp, unsigned long addr,
|
|
|
head = pud_page(orig);
|
|
|
page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT);
|
|
|
do {
|
|
|
- VM_BUG_ON_PAGE(compound_head(page) != head, page);
|
|
|
pages[*nr] = page;
|
|
|
(*nr)++;
|
|
|
page++;
|
|
@@ -1503,7 +1501,6 @@ static int gup_huge_pgd(pgd_t orig, pgd_t *pgdp, unsigned long addr,
|
|
|
head = pgd_page(orig);
|
|
|
page = head + ((addr & ~PGDIR_MASK) >> PAGE_SHIFT);
|
|
|
do {
|
|
|
- VM_BUG_ON_PAGE(compound_head(page) != head, page);
|
|
|
pages[*nr] = page;
|
|
|
(*nr)++;
|
|
|
page++;
|