Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752198AbdI0V7f (ORCPT ); Wed, 27 Sep 2017 17:59:35 -0400 Received: from resqmta-ch2-05v.sys.comcast.net ([69.252.207.37]:41986 "EHLO resqmta-ch2-05v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752011AbdI0V7d (ORCPT ); Wed, 27 Sep 2017 17:59:33 -0400 Date: Wed, 27 Sep 2017 16:59:31 -0500 (CDT) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake 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 Subject: Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic In-Reply-To: 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> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfPZAUgV3QWbSnFL9jI4VNIOkP2+u8WRS+CAxzVS1XbsTXhKcC4XMavKyYLL6Kv51rVFUgRdvr+KlohbTH3UTKKFYmRys92GC79LF7WWjGUTYO1mKZXlH a0lxUjZdC3G8+DcHGSPEOIIH7ciNnEDnqw6wjGhPXPZHabkRUQ3tHlIV+15oYAY4TLzoZGOtABxZaEqiN0kbUVkbr8OoltY2lhRchR5SxchhNBcjTPFbzzQ3 JCip2GZj8GpkUHXLo31hKnN4jFhzlWetS8yCTuwW8ySoMl+jOkX0gzKqDHn6UrhDcsSG+V2QGEwO6YImNCR0XVJG9gBmY4+sRo5TJSqGf3Sgfgqb6Pf816Tm TBDnG+kWfQUCg/eP91ECkumEL0Jmx4YzskluQ2sa1FySqbSLQzY= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 379 Lines: 9 On Thu, 28 Sep 2017, Yang Shi wrote: > > CONFIG_SLABINFO? How does this relate to the oom info? /proc/slabinfo > > support is optional. Oom info could be included even if CONFIG_SLABINFO > > goes away. Remove the #ifdef? > > Because we want to dump the unreclaimable slab info in oom info. CONFIG_SLABINFO and /proc/slabinfo have nothing to do with the unreclaimable slab info.