]> err.no Git - linux-2.6/commitdiff
[PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages
authorChris Wright <chrisw@sous-sol.org>
Sun, 25 Jun 2006 12:47:55 +0000 (05:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:08 +0000 (10:01 -0700)
This is redundant with check in wakeup_kswapd.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Paul Jackson <pj@sgi.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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));
 
        /*