Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Feb 2002 05:57:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Feb 2002 05:57:37 -0500 Received: from smtp-out-6.wanadoo.fr ([193.252.19.25]:23237 "EHLO mel-rto6.wanadoo.fr") by vger.kernel.org with ESMTP id ; Sat, 9 Feb 2002 05:57:25 -0500 From: Benjamin Herrenschmidt To: Linus Torvalds , Jeff Garzik Cc: Ingo Molnar , Alexander Viro , Andrew Morton , Martin Wirth , Robert Love , linux-kernel , haveblue Subject: Re: [RFC] New locking primitive for 2.5 Date: Fri, 8 Feb 2002 22:40:12 +0100 Message-Id: <20020208214012.26611@smtp.wanadoo.fr> In-Reply-To: <3C642F52.ABD14619@mandrakesoft.com> In-Reply-To: <3C642F52.ABD14619@mandrakesoft.com> X-Mailer: CTM PowerMail 3.1.1 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 >Are there architectures out there that absolutely must implement this >with a spinlock? Your suggested API of functions to read/write 64-bit >values atomically would work for such a case, but still I am just >curious. At least PPC32 can't do that without a spinlock_irq Ben. - 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/