From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Lameter Subject: Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic Date: Sun, 1 Oct 2017 01:43:45 -0500 (CDT) Message-ID: References: <1506473616-88120-1-git-send-email-yang.s@alibaba-inc.com> <1506473616-88120-3-git-send-email-yang.s@alibaba-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Yang Shi Cc: Pekka Enberg , David Rientjes , Joonsoo Kim , akpm@linux-foundation.org, mhocko@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-Id: linux-mm.kvack.org 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 ..