]> Git Repo - linux.git/commitdiff
[PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages
authorChris Wright <[email protected]>
Sun, 25 Jun 2006 12:47:55 +0000 (05:47 -0700)
committerLinus Torvalds <[email protected]>
Sun, 25 Jun 2006 17:01:08 +0000 (10:01 -0700)
This is redundant with check in wakeup_kswapd.

Signed-off-by: Chris Wright <[email protected]>
Acked-by: Paul Jackson <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/page_alloc.c

index 423db0db7c02697089960e4894b94a398172d82d..6c1174fcf52c9fd3fbac567ad19f6c42242ba849 100644 (file)
@@ -957,8 +957,7 @@ restart:
                goto got_pg;
 
        do {
-               if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL))
-                       wakeup_kswapd(*z, order);
+               wakeup_kswapd(*z, order);
        } while (*(++z));
 
        /*
This page took 0.059292 seconds and 4 git commands to generate.