]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/ia64/kernel/uncached.c
page allocator: do not check NUMA node ID when the caller knows the node is valid
[net-next-2.6.git] / arch / ia64 / kernel / uncached.c
index 8eff8c1d40a628404db5f8b0d70b82b3fd693eb8..6ba72ab42fcc513bac46bcb18eab8f7ed8ab198f 100644 (file)
@@ -98,7 +98,8 @@ static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid)
 
        /* attempt to allocate a granule's worth of cached memory pages */
 
-       page = alloc_pages_node(nid, GFP_KERNEL | __GFP_ZERO | GFP_THISNODE,
+       page = alloc_pages_exact_node(nid,
+                               GFP_KERNEL | __GFP_ZERO | GFP_THISNODE,
                                IA64_GRANULE_SHIFT-PAGE_SHIFT);
        if (!page) {
                mutex_unlock(&uc_pool->add_chunk_mutex);