summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>2005-07-07 17:56:04 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 18:23:35 -0700
commit79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 (patch)
tree210896405b2b70aded7582750e20967df8c8e7bf /mm/page_alloc.c
parentcb2c0233755429037462e16ea0d5497a0092738c (diff)
[PATCH] print order information when OOM killing
Dump the current allocation order when OOM killing. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 3c9f7f88112..7fbd3ea8765 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -936,7 +936,7 @@ rebalance:
goto got_pg;
}
- out_of_memory(gfp_mask);
+ out_of_memory(gfp_mask, order);
goto restart;
}