[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:
parent
dc851a0fd2
commit
43b0bc00fd
|
@ -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));
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue