Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756932AbYBSQlS (ORCPT ); Tue, 19 Feb 2008 11:41:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752944AbYBSQlI (ORCPT ); Tue, 19 Feb 2008 11:41:08 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:40984 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752867AbYBSQlH (ORCPT ); Tue, 19 Feb 2008 11:41:07 -0500 Date: Tue, 19 Feb 2008 08:38:53 -0800 (PST) From: Linus Torvalds To: Eric Dumazet cc: Mathieu Desnoyers , Pekka Enberg , Torsten Kaiser , Ingo Molnar , Linux Kernel Mailing List , Christoph Lameter Subject: Re: Linux 2.6.25-rc2 In-Reply-To: <20080219172739.55c341b5.dada1@cosmosbay.com> Message-ID: References: <64bb37e0802161338j306c1357m25bc224f09e6b7cd@mail.gmail.com> <20080219061107.GA23229@elte.hu> <64bb37e0802182254l49b10cbblc23f8a83d189ff8e@mail.gmail.com> <84144f020802182321x452888bai639c71ea2a5067da@mail.gmail.com> <20080219140230.GA32236@Krystal> <20080219172739.55c341b5.dada1@cosmosbay.com> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) 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: 787 Lines: 22 On Tue, 19 Feb 2008, Eric Dumazet wrote: > > cmpxchg_local(&c->freelist, object, object[c->offset]) can succeed, > while an interrupt came (on this cpu), and several allocations were done, > and one free was performed at the end of this interruption, so 'object' > was recycled. I think you may well be right. This looks like a good clue. I'll do the revert. I wanted either a confirmation that reveting it actually fixes something, _or_ an actual bug description, and this seems to be a quite possible case of the latter. Linus -- 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/