projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
343e0d7
)
[PATCH] dump_stack() in oom handler
author
Andrew Morton
<akpm@osdl.org>
Wed, 1 Feb 2006 11:05:51 +0000
(
03:05
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:18 +0000
(08:53 -0800)
Sometimes it's nice to know who's calling.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c
patch
|
blob
|
history
diff --git
a/mm/oom_kill.c
b/mm/oom_kill.c
index 14bd4ec7959736106b1d2574e1fdd82f999242bf..b05ab8f2a562292277bca720ca40a7c14834f520 100644
(file)
--- a/
mm/oom_kill.c
+++ b/
mm/oom_kill.c
@@
-271,6
+271,7
@@
void out_of_memory(gfp_t gfp_mask, int order)
if (printk_ratelimit()) {
printk("oom-killer: gfp_mask=0x%x, order=%d\n",
gfp_mask, order);
+ dump_stack();
show_mem();
}