Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753338Ab1EDKZ6 (ORCPT ); Wed, 4 May 2011 06:25:58 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:54470 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753266Ab1EDKZs (ORCPT ); Wed, 4 May 2011 06:25:48 -0400 Date: Wed, 4 May 2011 12:25:33 +0200 From: Ingo Molnar To: Thomas Gleixner Cc: Linus Torvalds , Jens Axboe , Andrew Morton , werner , "H. Peter Anvin" , Linux Kernel Mailing List Subject: Re: [block IO crash] Re: 2.6.39-rc5-git2 boot crashs Message-ID: <20110504102533.GA3979@elte.hu> References: <20110503190822.GA20520@elte.hu> <20110504083559.GB25724@elte.hu> <20110504101932.GA3392@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110504101932.GA3392@elte.hu> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1343 Lines: 38 * Ingo Molnar wrote: > * Thomas Gleixner wrote: > > > But I rather suspect, that CONFIG_SLUB=y is the thing we need to look at. The > > lockless fastpath cmpxchg comes to my mind. > > Hm, and CONFIG_X86_ELAN, as Linus noted, has an impact on the cmpxchg > implementation. Walter, could you please test the patch below on a failing kernel? Note, the patch is actually incorrect for a real Elan box, but should work on Walter's box - and should avoid the cmpxchg8b_emul implementation on that box. Thanks, Ingo diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 6a7cfdf..0783906 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -402,7 +402,7 @@ config X86_TSC config X86_CMPXCHG64 def_bool y - depends on X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MATOM + depends on X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MATOM || X86_ELAN # this should be set for all -march=.. options where the compiler # generates cmov. -- 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/