Messages in this thread | | | Subject | Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic | From | "Yang Shi" <> | Date | Mon, 02 Oct 2017 23:44:08 +0800 |
| |
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
>
| |