Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Feb 2002 12:47:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Feb 2002 12:47:39 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:51974 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sat, 9 Feb 2002 12:47:27 -0500 Date: Sat, 9 Feb 2002 11:32:26 -0800 (PST) From: Linus Torvalds To: Benjamin Herrenschmidt cc: Jeff Garzik , Ingo Molnar , Alexander Viro , Andrew Morton , Martin Wirth , Robert Love , linux-kernel , haveblue Subject: Re: [RFC] New locking primitive for 2.5 In-Reply-To: <20020208214012.26611@smtp.wanadoo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 Feb 2002, Benjamin Herrenschmidt wrote: > > At least PPC32 can't do that without a spinlock_irq We don't need to be irq-safe for this, though. Just specify it to be process safe - which means that on UP it boils down to at most maybe having to protect against preemption. 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/