|
@@ -191,8 +191,6 @@ static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd,
|
|
|
drop_rmap_locks(vma);
|
|
|
}
|
|
|
|
|
|
-#define LATENCY_LIMIT (64 * PAGE_SIZE)
|
|
|
-
|
|
|
unsigned long move_page_tables(struct vm_area_struct *vma,
|
|
|
unsigned long old_addr, struct vm_area_struct *new_vma,
|
|
|
unsigned long new_addr, unsigned long len,
|
|
@@ -247,8 +245,6 @@ unsigned long move_page_tables(struct vm_area_struct *vma,
|
|
|
next = (new_addr + PMD_SIZE) & PMD_MASK;
|
|
|
if (extent > next - new_addr)
|
|
|
extent = next - new_addr;
|
|
|
- if (extent > LATENCY_LIMIT)
|
|
|
- extent = LATENCY_LIMIT;
|
|
|
move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma,
|
|
|
new_pmd, new_addr, need_rmap_locks, &need_flush);
|
|
|
}
|