Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753790Ab2BVQGO (ORCPT ); Wed, 22 Feb 2012 11:06:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56667 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753597Ab2BVQGM (ORCPT ); Wed, 22 Feb 2012 11:06:12 -0500 Date: Wed, 22 Feb 2012 14:04:30 -0200 From: Rafael Aquini To: Pekka Enberg Cc: linux-mm@kvack.org, Randy Dunlap , Christoph Lameter , Matt Mackall , Rik van Riel , Josef Bacik , linux-kernel@vger.kernel.org Subject: Re: [PATCH] oom: add sysctl to enable slab memory dump Message-ID: <20120222160429.GA1986@x61.redhat.com> References: <20120222115320.GA3107@x61.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1154 Lines: 31 On Wed, Feb 22, 2012 at 03:17:23PM +0200, Pekka Enberg wrote: > On Wed, Feb 22, 2012 at 1:53 PM, Rafael Aquini wrote: > > This, alongside with all other data dumped in OOM events, is very helpful > > information in diagnosing why there was an OOM condition specially when > > kernel code is under investigation. > > > > Signed-off-by: Rafael Aquini > > Makes sense. Do you have an example how an out-of-memory slab cache > dump looks like? > Yes I do have a couple of dumps taken from some dabbler testing I was performing. Would it be interesting to introduce a sample at the commit message, or among the Documentation paragraphs? > Minor style nit: just define the zeroed variables in this block. > I will adjust those. Thanks for your feedback! -- Rafael Aquini Software Maintenance Engineer Red Hat, Inc. +55 51 4063.9436 / 8426138 (ext) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/