[PATCH] node local per-cpu-pages
[linux-3.10.git] / mm / mempolicy.c
index 08c41da429cf015e9c22443ae5d811d4f5fa3569..39252c732db2e42675248e18d9a0bcf97dc2d92d 100644 (file)
@@ -721,7 +721,7 @@ static struct page *alloc_page_interleave(unsigned int __nocast gfp, unsigned or
        zl = NODE_DATA(nid)->node_zonelists + (gfp & GFP_ZONEMASK);
        page = __alloc_pages(gfp, order, zl);
        if (page && page_zone(page) == zl->zones[0]) {
-               zl->zones[0]->pageset[get_cpu()].interleave_hit++;
+               zone_pcp(zl->zones[0],get_cpu())->interleave_hit++;
                put_cpu();
        }
        return page;