Re: [PATCH 3/3] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory

From: David Rientjes
Date: Tue Oct 17 2017 - 17:50:11 EST


On Wed, 18 Oct 2017, Yang Shi wrote:

> > > > Please simply dump statistics for all slab caches where the memory
> > > > footprint is greater than 5% of system memory.
> > >
> > > Unconditionally? User controlable?
> >
> > Unconditionally, it's a single line of output per slab cache and there
> > can't be that many of them if each is using >5% of memory.
>
> Soïyou mean just dump the single slab cache if its size > 5% of system memory
> instead of all slab caches?
>

Yes, this should catch occurrences of "huge unreclaimable slabs", right?