Commit 43b0bc00 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

[PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages

This is redundant with check in wakeup_kswapd.
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Acked-by: default avatarPaul Jackson <pj@sgi.com>
Acked-by: default avatarChristoph Lameter <clameter@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dc851a0f
...@@ -957,8 +957,7 @@ __alloc_pages(gfp_t gfp_mask, unsigned int order, ...@@ -957,8 +957,7 @@ __alloc_pages(gfp_t gfp_mask, unsigned int order,
goto got_pg; goto got_pg;
do { do {
if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL)) wakeup_kswapd(*z, order);
wakeup_kswapd(*z, order);
} while (*(++z)); } while (*(++z));
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment