From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx180.postini.com [74.125.245.180]) by kanga.kvack.org (Postfix) with SMTP id D350B6B0044 for ; Fri, 9 Mar 2012 18:46:53 -0500 (EST) Received: by iajr24 with SMTP id r24so3966122iaj.14 for ; Fri, 09 Mar 2012 15:46:53 -0800 (PST) Date: Fri, 9 Mar 2012 15:46:51 -0800 (PST) From: David Rientjes Subject: Re: [PATCH v3] mm: SLAB Out-of-memory diagnostics In-Reply-To: <20120309202722.GA10323@x61.redhat.com> Message-ID: References: <20120309202722.GA10323@x61.redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Rafael Aquini Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Randy Dunlap , Christoph Lameter , Pekka Enberg , Matt Mackall , Rik van Riel , Josef Bacik , Cong Wang On Fri, 9 Mar 2012, Rafael Aquini wrote: > Following the example at mm/slub.c, add out-of-memory diagnostics to the > SLAB allocator to help on debugging certain OOM conditions. > > An example print out looks like this: > > > SLAB: Unable to allocate memory on node 0 (gfp=0x11200) > cache: bio-0, object size: 192, order: 0 > node 0: slabs: 3/3, objs: 60/60, free: 0 > > Signed-off-by: Rafael Aquini > Acked-by: Rik van Riel Acked-by: David Rientjes Thanks for following through with this! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org