summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorMarcelo Tosatti2005-07-08 02:56:04 +0200
committerLinus Torvalds2005-07-08 03:23:35 +0200
commit79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 (patch)
tree210896405b2b70aded7582750e20967df8c8e7bf /mm/page_alloc.c
parent[PATCH] export generic_drop_inode() to modules (diff)
downloadkernel-qcow2-linux-79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650.tar.gz
kernel-qcow2-linux-79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650.tar.xz
kernel-qcow2-linux-79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650.zip
[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 3c9f7f881125..7fbd3ea8765c 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;
}