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

From: Yang Shi
Date: Tue Oct 17 2017 - 18:20:27 EST




On 10/17/17 2:50 PM, David Rientjes wrote:
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?

Yes, it sounds so. Although single "huge" unreclaimable slab might not result in excessive slabs use in a whole, but this would help to filter out "small" unreclaimable slab.

Yang