The patch titled lumpy: move to using pfn_valid_within() has been added to the -mm tree. Its filename is lumpy-move-to-using-pfn_valid_within.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: lumpy: move to using pfn_valid_within() From: Andy Whitcroft <apw@xxxxxxxxxxxx> Switch to using pfn_valid_within() in lumpy reclaim. Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx> Acked-by: Mel Gorman <mel@xxxxxxxxx> Acked-by: Bob Picco <bob.picco@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmscan.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff -puN mm/vmscan.c~lumpy-move-to-using-pfn_valid_within mm/vmscan.c --- a/mm/vmscan.c~lumpy-move-to-using-pfn_valid_within +++ a/mm/vmscan.c @@ -717,11 +717,10 @@ static unsigned long isolate_lru_pages(u /* The target page is in the block, ignore it. */ if (unlikely(pfn == page_pfn)) continue; -#ifdef CONFIG_HOLES_IN_ZONE + /* Avoid holes within the zone. */ - if (unlikely(!pfn_valid(pfn))) + if (unlikely(!pfn_valid_within(pfn))) break; -#endif cursor_page = pfn_to_page(pfn); /* Check that we have not crossed a zone boundary. */ _ Patches currently in -mm which might be from apw@xxxxxxxxxxxx are pci-device-ensure-sysdata-initialised-v2.patch move-free-pages-between-lists-on-steal-fix.patch fix-corruption-of-memmap-on-ia64-sparsemem-when-mem_section-is-not-a-power-of-2.patch lumpy-reclaim-v4.patch lumpy-back-out-removal-of-active-check-in-isolate_lru_pages.patch lumpy-only-count-taken-pages-as-scanned.patch add-pfn_valid_within-helper-for-sub-max_order-hole-detection.patch anti-fragmentation-switch-over-to-pfn_valid_within.patch lumpy-move-to-using-pfn_valid_within.patch bias-the-location-of-pages-freed-for-min_free_kbytes-in-the-same-max_order_nr_pages-blocks.patch bias-the-location-of-pages-freed-for-min_free_kbytes-in-the-same-max_order_nr_pages-blocks-tidy.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html