]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - mm/page_alloc.c
[PATCH] mm: dequeue a huge page near to this node
[mv-sheeva.git] / mm / page_alloc.c
index fe14a8c87fc27d8822faeaff71cf990f6f9a95ef..1e49dc7cd61969c49cef5185ff1e424be11b6815 100644 (file)
@@ -903,8 +903,7 @@ restart:
                alloc_flags |= ALLOC_HARDER;
        if (gfp_mask & __GFP_HIGH)
                alloc_flags |= ALLOC_HIGH;
-       if (wait)
-               alloc_flags |= ALLOC_CPUSET;
+       alloc_flags |= ALLOC_CPUSET;
 
        /*
         * Go through the zonelist again. Let __GFP_HIGH and allocations
@@ -926,7 +925,7 @@ restart:
 nofail_alloc:
                        /* go through the zonelist yet again, ignoring mins */
                        page = get_page_from_freelist(gfp_mask, order,
-                               zonelist, ALLOC_NO_WATERMARKS|ALLOC_CPUSET);
+                               zonelist, ALLOC_NO_WATERMARKS);
                        if (page)
                                goto got_pg;
                        if (gfp_mask & __GFP_NOFAIL) {