From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx122.postini.com [74.125.245.122]) by kanga.kvack.org (Postfix) with SMTP id 160166B0005 for ; Tue, 19 Feb 2013 13:29:59 -0500 (EST) Date: Tue, 19 Feb 2013 13:29:52 -0500 From: Dave Jones Subject: Re: slab: odd BUG on kzalloc Message-ID: <20130219182952.GB27141@redhat.com> References: <5120FDA4.2060704@oracle.com> <0000013cefe056e0-daedd018-43cd-472f-9b20-27b2a897ae2a-000000@email.amazonses.com> <5123C1F1.6050102@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5123C1F1.6050102@oracle.com> Sender: owner-linux-mm@kvack.org List-ID: To: Sasha Levin Cc: Christoph Lameter , Pekka Enberg , mpm@selenic.com, linux-mm , "linux-kernel@vger.kernel.org" On Tue, Feb 19, 2013 at 01:18:25PM -0500, Sasha Levin wrote: > >> [ 169.930103] ---[ end trace 4d135f3def21b4bd ]--- > >> > >> The code translates to the following in fs/pipe.c:alloc_pipe_info : > >> > >> pipe = kzalloc(sizeof(struct pipe_inode_info), GFP_KERNEL); > >> if (pipe) { > >> pipe->bufs = kzalloc(sizeof(struct pipe_buffer) * PIPE_DEF_BUFFERS, GFP_KERNEL); <=== this > >> if (pipe->bufs) { > >> init_waitqueue_head(&pipe->wait); > > Looks like it's not specific to pipe(). I've also got this one now: > > Since I've managed to reproduce it, I'll go ahead and add slub_debug and see what it tells us. I'm curious, did you recently upgrade gcc, or other parts of the toolchain ? This, and one of the other 'weird' bugs you reported recently have me wondering if perhaps you're seeing a compiler bug. Dave -- 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/ . Don't email: email@kvack.org