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


Groups > linux.kernel > #1743240

Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic

From "Yang Shi" <yang.s@alibaba-inc.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic
Date 2017-10-02 22:50 +0200
Message-ID <uwfP6-ur-63@gated-at.bofh.it> (permalink)
References (2 earlier) <uueNr-7BL-11@gated-at.bofh.it> <uuojM-63X-11@gated-at.bofh.it> <uusx4-6r-15@gated-at.bofh.it> <uusQp-sS-1@gated-at.bofh.it> <uvGeB-732-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 9/30/17 11:43 PM, Christopher Lameter wrote:
> On Thu, 28 Sep 2017, Yang Shi wrote:
> 
>>> CONFIG_SLABINFO and /proc/slabinfo have nothing to do with the
>>> unreclaimable slab info.
>>
>> The current design uses "struct slabinfo" and get_slabinfo() to retrieve some
>> info, i.e. active objs, etc. They are protected by CONFIG_SLABINFO.
> 
> Ok I guess then those need to be moved out of CONFIG_SLABINFO. Otherwise
> dumping of slabs will not be supported when disabling that option.

Yes.

> 
> Or dump CONFIG_SLABINFO ..

I prefer to this. It sounds pointless to keep CONFIG_SLABINFO. It is 
always on by default and can't be changed in menuconfig.

Thanks,
Yang

> 

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


Thread

[PATCH 0/3 v7] oom: capture unreclaimable slab info in oom message when kernel panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-27 03:00 +0200
  [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-27 03:00 +0200
    Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic Christopher Lameter <cl@linux.com> - 2017-09-27 09:20 +0200
      Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-27 19:30 +0200
        Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic Christopher Lameter <cl@linux.com> - 2017-09-28 00:00 +0200
          Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-28 00:20 +0200
            Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic Christopher Lameter <cl@linux.com> - 2017-10-01 08:50 +0200
              Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-10-02 22:50 +0200
    Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic Michal Hocko <mhocko@kernel.org> - 2017-09-27 12:50 +0200
      Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-09-27 19:30 +0200
        Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic Michal Hocko <mhocko@kernel.org> - 2017-10-02 09:30 +0200
          Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel  panic "Yang Shi" <yang.s@alibaba-inc.com> - 2017-10-02 22:50 +0200

csiph-web