Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755010AbXACIQv (ORCPT ); Wed, 3 Jan 2007 03:16:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755012AbXACIQv (ORCPT ); Wed, 3 Jan 2007 03:16:51 -0500 Received: from smtp.osdl.org ([65.172.181.25]:52079 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755006AbXACIQu (ORCPT ); Wed, 3 Jan 2007 03:16:50 -0500 Date: Wed, 3 Jan 2007 00:16:35 -0800 From: Andrew Morton To: Ravikiran G Thirumalai Cc: linux-kernel@vger.kernel.org, Andi Kleen , "Shai Fultheim (Shai@scalex86.org)" , pravin b shelar , "Benzi Galili (Benzi@ScaleMP.com)" Subject: Re: [rfc] [patch 1/2] spin_lock_irq: Enable interrupts while spinning -- preperatory patch Message-Id: <20070103001635.ecbd74e5.akpm@osdl.org> In-Reply-To: <20070103075923.GA3789@localhost.localdomain> References: <20070103075923.GA3789@localhost.localdomain> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 17 On Tue, 2 Jan 2007 23:59:23 -0800 Ravikiran G Thirumalai wrote: > The following patches do just that. The first patch is preparatory in nature > and the second one changes the x86_64 implementation of spin_lock_irq. > Patch passed overnight runs of kernbench and dbench on 4 way x86_64 smp. The end result of this is, I think, that i386 enables irqs while spinning in spin_lock_irqsave() but not while spinning in spin_lock_irq(). And x86_64 does the opposite. Odd, isn't it? - 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/