Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265331AbUIIO4a (ORCPT ); Thu, 9 Sep 2004 10:56:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265489AbUIIO4a (ORCPT ); Thu, 9 Sep 2004 10:56:30 -0400 Received: from fw.osdl.org ([65.172.181.6]:7827 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S265331AbUIIOzm (ORCPT ); Thu, 9 Sep 2004 10:55:42 -0400 Date: Thu, 9 Sep 2004 07:55:37 -0700 (PDT) From: Linus Torvalds To: Zwane Mwaikambo cc: Paul Mackerras , Linux Kernel , Andrew Morton , William Lee Irwin III , Matt Mackall , Anton Blanchard , "Nakajima, Jun" Subject: Re: [PATCH][5/8] Arch agnostic completely out of line locks / ppc64 In-Reply-To: Message-ID: References: <16703.60725.153052.169532@cargo.ozlabs.ibm.com> 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 Content-Length: 721 Lines: 19 On Thu, 9 Sep 2004, Linus Torvalds wrote: > > and the fact is, this is all much better just done in the arch-specific > spinlock code. This is especially true since some architectures may have high overheads for this, so you may do normal spinning for a while before you even start doing the "fancy" stuff. So there is no ay we should expose this as a "generic" interface. It ain't generic. It's very much a low-level implementation detail of "spin_lock()". 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/