]> err.no Git - linux-2.6/commit
[PATCH] add OOM debug
authorJanet Morgan <janetmor@us.ibm.com>
Wed, 22 Jun 2005 00:14:56 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:17 +0000 (18:46 -0700)
commit578c2fd6a7f378434655e5c480e23152a3994404
tree3a6408c416e3825cd17e33ac776425a52b743adc
parentc2f29ea111e3344ed48257c2a142c3db514e1529
[PATCH] add OOM debug

This patch provides more debug info when the system is OOM.  It displays
memory stats (basically sysrq-m info) from __alloc_pages() when page
allocation fails and during OOM kill.

Thanks to Dave Jones for coming up with the idea.

Signed-off-by: Janet Morgan <janetmor@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/oom_kill.c
mm/page_alloc.c