Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757161Ab2BXKkR (ORCPT ); Fri, 24 Feb 2012 05:40:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7161 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757094Ab2BXKkP (ORCPT ); Fri, 24 Feb 2012 05:40:15 -0500 Date: Fri, 24 Feb 2012 08:38:28 -0200 From: Rafael Aquini To: Pekka Enberg Cc: David Rientjes , 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: <20120224103827.GA2030@x61.redhat.com> References: <20120222115320.GA3107@x61.redhat.com> <20120223152226.GA2014@x61.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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: 1010 Lines: 20 On Fri, Feb 24, 2012 at 12:05:27PM +0200, Pekka Enberg wrote: > On Fri, Feb 24, 2012 at 12:03 PM, David Rientjes wrote: > > I like how slub handles this when it can't allocate more slab with > > slab_out_of_memory() and has the added benefit of still warning even with > > __GFP_NORETRY that the oom killer is never called for. ?If there's really > > a slab leak happening, there's a good chance that this diagnostic > > information is going to be emitted by the offending cache at some point in > > time if you're using slub. ?This could easily be extended to slab.c, so > > it's even more reason not to include this type of information in the oom > > killer. > > Works for me. Rafael? Sure, I'm getting back to the scratchpad right away. -- 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/