Thread (21 messages) 21 messages, 5 authors, 2012-02-29

Re: [PATCH] oom: add sysctl to enable slab memory dump

From: David Rientjes <rientjes@google.com>
Date: 2012-02-24 10:03:53
Also in: lkml

On Fri, 24 Feb 2012, Pekka Enberg wrote:
Right. We should drop the sysctl and make it into a kernel command line 
debugging option instead.
I like how slub handles this when it can't allocate more slab with 
slab_out_of_memory() and has the added benefit of still warning even with 
__GFP_NORETRY that the oom killer is never called for.  If there's really 
a slab leak happening, there's a good chance that this diagnostic 
information is going to be emitted by the offending cache at some point in 
time if you're using slub.  This could easily be extended to slab.c, so 
it's even more reason not to include this type of information in the oom 
killer.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help