Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755936Ab1EDVHS (ORCPT ); Wed, 4 May 2011 17:07:18 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:50091 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753169Ab1EDVHR (ORCPT ); Wed, 4 May 2011 17:07:17 -0400 MIME-Version: 1.0 In-Reply-To: References: <20110504101932.GA3392@elte.hu> <20110504112746.GE8007@htj.dyndns.org> <20110504132022.GA17294@htj.dyndns.org> <20110504142532.GC17294@htj.dyndns.org> From: Linus Torvalds Date: Wed, 4 May 2011 14:06:21 -0700 Message-ID: Subject: Re: [block IO crash] Re: 2.6.39-rc5-git2 boot crashs To: Christoph Lameter Cc: Pekka Enberg , Thomas Gleixner , Tejun Heo , Ingo Molnar , Jens Axboe , Andrew Morton , werner , "H. Peter Anvin" , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 20 On Wed, May 4, 2011 at 1:04 PM, Christoph Lameter wrote: > > Maybe I should have pushed the cmpxchg_double() before the > this_cpu_cmpxchg to avoid these misunderstandings Christoph, the only mis-understanding is yours. I understand perfectly that the percpu cmpxchg isn't SMP-atomic. We all know that. The problem is that cmpxchg *IS*NOT*AN*CMPXCHG*AT*ALL*. Not even on UP. It's something totally different. 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/