> --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1326,6 +1326,7 @@ static unsigned long isolate_lru_pages(unsigned long nr_to_scan, > > for (scan = 0; scan < nr_to_scan && !list_empty(src); scan++) { > struct page *page; > + struct zone *zone; > int nr_pages; > > page = lru_to_page(src); > @@ -1333,8 +1334,11 @@ static unsigned long isolate_lru_pages(unsigned long nr_to_scan, > > VM_BUG_ON_PAGE(!PageLRU(page), page); > > - if (page_zone_id(page) > sc->reclaim_idx) > + zone = page_zone(page); > + if (page_zone_id(page) > sc->reclaim_idx) { > list_move(&page->lru, &pages_skipped); > + __count_zone_vm_events(PGSCAN_SKIP, page_zone(page), 1); > + } The newly added zone is not used. > > switch (__isolate_lru_page(page, mode)) { > case 0: -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>