Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739641

Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom message when kernel panic

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom message when kernel panic
Date 2017-09-26 10:00 +0200
Message-ID <utSWC-1N5-9@gated-at.bofh.it> (permalink)
References <urVOW-J7-15@gated-at.bofh.it> <utCyu-7ys-7@gated-at.bofh.it> <utDXA-8oa-9@gated-at.bofh.it> <utIky-2ZE-21@gated-at.bofh.it> <utJzY-3KN-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2 v4] oom: capture unreclaimable slab info in oom message when kernel panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-21 00:40 +0200
  [PATCH 1/2] tools: slabinfo: add "-U" option to show unreclaimable slabs only "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-21 00:40 +0200
  [PATCH 2/2] mm: oom: show unreclaimable slab info when kernel panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-21 00:40 +0200
    Re: [PATCH 2/2] mm: oom: show unreclaimable slab info when kernel  panic David Rientjes <rientjes@google.com> - 2017-09-21 10:30 +0200
      Re: [PATCH 2/2] mm: oom: show unreclaimable slab info when kernel  panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-21 20:00 +0200
  Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom  message when kernel panic Michal Hocko <mhocko@kernel.org> - 2017-09-25 16:30 +0200
    Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom  message when kernel panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-25 18:00 +0200
      Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom  message when kernel panic Michal Hocko <mhocko@kernel.org> - 2017-09-25 22:40 +0200
        Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom  message when kernel panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-26 00:00 +0200
          Re: [PATCH 0/2 v4] oom: capture unreclaimable slab info in oom  message when kernel panic Michal Hocko <mhocko@kernel.org> - 2017-09-26 10:00 +0200

csiph-web