mm-migrate-use-vma_lookup-in-do_pages_stat_array.patch removed from -mm tree
The patch titled
Subject: mm/migrate: use vma_lookup() in do_pages_stat_array()
has been removed from the -mm tree. Its filename was
mm-migrate-use-vma_lookup-in-do_pages_stat_array.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Liam Howlett <[email protected]>
Subject: mm/migrate: use vma_lookup() in do_pages_stat_array()
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/migrate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/migrate.c renamed from mm/migrate.c~mm-migrate-use-vma_lookup-in-do_pages_stat_array +2 -2
@@ -1834,8 +1834,8 @@ static void do_pages_stat_array(struct mstruct page *page;int err = -EFAULT ; - vma =find_vma (mm, addr); -if (!vma || addr < vma->vm_start) + vma =vma_lookup (mm, addr); +if (!vma) goto set_status;/* FOLL_DUMP to ignore special (like zero) pages */
_
Patches currently in -mm which might be from [email protected] are