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

From: Rafael Aquini
Date: Wed Feb 22 2012 - 11:06:12 EST


On Wed, Feb 22, 2012 at 03:17:23PM +0200, Pekka Enberg wrote:
> On Wed, Feb 22, 2012 at 1:53 PM, Rafael Aquini <aquini@xxxxxxxxxx> wrote:
> > This, alongside with all other data dumped in OOM events, is very helpful
> > information in diagnosing why there was an OOM condition specially when
> > kernel code is under investigation.
> >
> > Signed-off-by: Rafael Aquini <aquini@xxxxxxxxxx>
>
> Makes sense. Do you have an example how an out-of-memory slab cache
> dump looks like?
>
Yes I do have a couple of dumps taken from some dabbler testing I was
performing. Would it be interesting to introduce a sample at the commit message, or
among the Documentation paragraphs?


> Minor style nit: just define the zeroed variables in this block.
>
I will adjust those.

Thanks for your feedback!
--
Rafael Aquini <aquini@xxxxxxxxxx>
Software Maintenance Engineer
Red Hat, Inc.
+55 51 4063.9436 / 8426138 (ext)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/