Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760475AbYB0WQF (ORCPT ); Wed, 27 Feb 2008 17:16:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761098AbYB0WPs (ORCPT ); Wed, 27 Feb 2008 17:15:48 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:50263 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760842AbYB0WPr (ORCPT ); Wed, 27 Feb 2008 17:15:47 -0500 Date: Wed, 27 Feb 2008 14:15:45 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Pekka Enberg cc: "Zhang, Yanmin" , LKML , Ingo Molnar , Mathieu Desnoyers , Linus Torvalds , Torsten Kaiser Subject: Re: NULL pointer in kmem_cache_alloc with 2.6.25-rc1 In-Reply-To: <84144f020802182338p68d412f6sa9e0f8975344a9c0@mail.gmail.com> Message-ID: References: <1203058021.3027.143.camel@ymzhang> <1203404594.3248.32.camel@ymzhang> <84144f020802182338p68d412f6sa9e0f8975344a9c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 28 On Tue, 19 Feb 2008, Pekka Enberg wrote: > > I will do more testing and investigation, as the bug also exists in 2.6.25-rc2. > > Could you please try Ingo's patch: http://lkml.org/lkml/2008/2/19/13 > > Looks like there are some problems with SLUB_FASTPATH. Yeah that would determine if its the fastpath code. Note that the new fastpath code may expose bugs that so far have been tolerated by the slab allocators. If a store of a NULL to the first word of an object occurs then this will be tolerated in 2.6.24 because slub will take it as the end of the object list and just forget about the remaining objects. The fastpath code will terminate with a NULL pointer deref. Enabling full debugging may get rid of the race due to the slowdown. It could help to just enable minimal debugging for the slab cache in which we see the issue. So do slub_debug=F, -- 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/