mm-memoryc-use-vma_lookup-in-__access_remote_vm.patch removed from -mm tree
The patch titled
Subject: mm/memory.c: use vma_lookup() in __access_remote_vm()
has been removed from the -mm tree. Its filename was
mm-memoryc-use-vma_lookup-in-__access_remote_vm.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Liam Howlett <[email protected]>
Subject: mm/memory.c: use vma_lookup() in __access_remote_vm()
Use vma_lookup() to find the VMA at a specific address. As vma_lookup() will return NULL if the address is not within any VMA, the start address no longer needs to be validated.
Signed-off-by Liam R. Howlett <[email protected]>
Reviewed-by Laurent Dufour <[email protected]>
Acked-by Davidlohr Bueso <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/memory.c renamed from mm/memory.c~mm-memoryc-use-vma_lookup-in-__access_remote_vm +2 -2
@@ -4994,8 +4994,8 @@ int __access_remote_vm(struct mm_struct* Check if this is a VM_IO | VM_PFNMAP VMA, which * we can access using slightly different code. */ - vma =find_vma (mm, addr); -if (!vma || vma->vm_start > addr) + vma =vma_lookup (mm, addr); +if (!vma)break ;if (vma->vm_ops && vma->vm_ops->access) ret = vma->vm_ops->access(vma, addr, buf,
_
Patches currently in -mm which might be from [email protected] are