Messages in this thread | | | Date | Tue, 26 Sep 2017 09:56:38 +0200 | From | Michal Hocko <> | Subject | Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom message when kernel panic |
| |
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
| |