On Tue 26-09-17 05:52:50, Yang Shi wrote: > Maybe we can set a unreclaimable slab/total mem ratio. For example, when > unreclaimable slab size >= 50% total memory size, then we print out slab > stats in oom? And, the ratio might be adjustable in /proc.
This sounds quite reasonable to me. I would compare the slab amount to the directly user backed memory (LRU ages) though. -- Michal Hocko SUSE Labs

