mm-mremap-use-vma_lookup-instead-of-find_vma.patch removed from -mm tree
The patch titled
Subject: mm/mremap:: use vma_lookup() instead of find_vma()
has been removed from the -mm tree. Its filename was
mm-mremap-use-vma_lookup-instead-of-find_vma.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm/mremap:: use vma_lookup() instead of find_vma()
Using vma_lookup() verifies the address is contained in the found vma. This results in easier to read code.
Signed-off-by Miaohe Lin <[email protected]>
Reviewed-by Andrew Morton <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/mremap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/mremap.c renamed from mm/mremap.c~mm-mremap-use-vma_lookup-instead-of-find_vma +2 -2
@@ -942,8 +942,8 @@ SYSCALL_DEFINE5(mremap, unsigned long, aif (mmap_write_lock_killable (current->mm))return -EINTR ; - vma =find_vma (mm, addr); -if (!vma || vma->vm_start > addr) { + vma =vma_lookup (mm, addr); +if (!vma) { ret =EFAULT ; goto out; }
_
Patches currently in -mm which might be from [email protected] are
mm-huge_memory-make-is_transparent_hugepage-static.patch