From: Chris Wright Date: Sun, 25 Jun 2006 12:47:55 +0000 (-0700) Subject: [PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages X-Git-Tag: v2.6.18-rc1~980 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43b0bc00fdbf2f1503a57f0c2c1338438c5d2805;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages This is redundant with check in wakeup_kswapd. Signed-off-by: Chris Wright Acked-by: Paul Jackson Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 423db0d..6c1174f 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -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)); /*