aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mremap.c')
-rw-r--r--mm/mremap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/mremap.c b/mm/mremap.c
index 049470aa1e3e..5c2e18505f75 100644
--- a/mm/mremap.c
+++ b/mm/mremap.c
@@ -191,8 +191,6 @@ static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd,
191 drop_rmap_locks(vma); 191 drop_rmap_locks(vma);
192} 192}
193 193
194#define LATENCY_LIMIT (64 * PAGE_SIZE)
195
196unsigned long move_page_tables(struct vm_area_struct *vma, 194unsigned long move_page_tables(struct vm_area_struct *vma,
197 unsigned long old_addr, struct vm_area_struct *new_vma, 195 unsigned long old_addr, struct vm_area_struct *new_vma,
198 unsigned long new_addr, unsigned long len, 196 unsigned long new_addr, unsigned long len,
@@ -247,8 +245,6 @@ unsigned long move_page_tables(struct vm_area_struct *vma,
247 next = (new_addr + PMD_SIZE) & PMD_MASK; 245 next = (new_addr + PMD_SIZE) & PMD_MASK;
248 if (extent > next - new_addr) 246 if (extent > next - new_addr)
249 extent = next - new_addr; 247 extent = next - new_addr;
250 if (extent > LATENCY_LIMIT)
251 extent = LATENCY_LIMIT;
252 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma, 248 move_ptes(vma, old_pmd, old_addr, old_addr + extent, new_vma,
253 new_pmd, new_addr, need_rmap_locks, &need_flush); 249 new_pmd, new_addr, need_rmap_locks, &need_flush);
254 } 250 }