提交 43b0bc00 编写于 作者: C Chris Wright 提交者: Linus Torvalds

[PATCH] cpuset: remove extra cpuset_zone_allowed check in __alloc_pages

This is redundant with check in wakeup_kswapd.
Signed-off-by: NChris Wright <chrisw@sous-sol.org>
Acked-by: NPaul Jackson <pj@sgi.com>
Acked-by: NChristoph Lameter <clameter@sgi.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 dc851a0f
......@@ -957,8 +957,7 @@ __alloc_pages(gfp_t gfp_mask, unsigned int order,
goto got_pg;
do {
if (cpuset_zone_allowed(*z, gfp_mask|__GFP_HARDWALL))
wakeup_kswapd(*z, order);
wakeup_kswapd(*z, order);
} while (*(++z));
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册