1
0
Fork 0

[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>
hifive-unleashed-5.1
Chris Wright 2006-06-25 05:47:55 -07:00 committed by Linus Torvalds
parent dc851a0fd2
commit 43b0bc00fd
1 changed files with 1 additions and 2 deletions

View 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));
/*