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. Or dump CONFIG_SLABINFO ..