diff options
author | Marcelo Tosatti <marcelo.tosatti@cyclades.com> | 2005-07-07 20:56:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:23:35 -0400 |
commit | 79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 (patch) | |
tree | 210896405b2b70aded7582750e20967df8c8e7bf /drivers/char/sysrq.c | |
parent | cb2c0233755429037462e16ea0d5497a0092738c (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 'drivers/char/sysrq.c')
-rw-r--r-- | drivers/char/sysrq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index af79805b5576..12d563c648f7 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c | |||
@@ -228,7 +228,7 @@ static struct sysrq_key_op sysrq_term_op = { | |||
228 | 228 | ||
229 | static void moom_callback(void *ignored) | 229 | static void moom_callback(void *ignored) |
230 | { | 230 | { |
231 | out_of_memory(GFP_KERNEL); | 231 | out_of_memory(GFP_KERNEL, 0); |
232 | } | 232 | } |
233 | 233 | ||
234 | static DECLARE_WORK(moom_work, moom_callback, NULL); | 234 | static DECLARE_WORK(moom_work, moom_callback, NULL); |