Commit cbf9589d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] swapper_space warning suppression

Suppress page allocation warnings arising from radix_tree_node_alloc()
allocations on behalf of swapper_space: these are expected under heavy load.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4d42378e
...@@ -34,7 +34,7 @@ static struct backing_dev_info swap_backing_dev_info = { ...@@ -34,7 +34,7 @@ static struct backing_dev_info swap_backing_dev_info = {
}; };
struct address_space swapper_space = { struct address_space swapper_space = {
.page_tree = RADIX_TREE_INIT(GFP_ATOMIC), .page_tree = RADIX_TREE_INIT(GFP_ATOMIC|__GFP_NOWARN),
.tree_lock = SPIN_LOCK_UNLOCKED, .tree_lock = SPIN_LOCK_UNLOCKED,
.a_ops = &swap_aops, .a_ops = &swap_aops,
.i_mmap_nonlinear = LIST_HEAD_INIT(swapper_space.i_mmap_nonlinear), .i_mmap_nonlinear = LIST_HEAD_INIT(swapper_space.i_mmap_nonlinear),
......
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