[PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages
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>
This commit is contained in:
committed by
Linus Torvalds
parent
dc851a0fd2
commit
43b0bc00fd
@@ -957,7 +957,6 @@ restart:
|
|||||||
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));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user