Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760596AbZAJBFo (ORCPT ); Fri, 9 Jan 2009 20:05:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755764AbZAJBFc (ORCPT ); Fri, 9 Jan 2009 20:05:32 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:34213 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755688AbZAJBFb (ORCPT ); Fri, 9 Jan 2009 20:05:31 -0500 Date: Fri, 9 Jan 2009 17:04:22 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Jamie Lokier cc: Harvey Harrison , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Chris Mason , Peter Zijlstra , Steven Rostedt , paulmck@linux.vnet.ibm.com, Gregory Haskins , Matthew Wilcox , Andrew Morton , Linux Kernel Mailing List , linux-fsdevel , linux-btrfs , Thomas Gleixner , Nick Piggin , Peter Morreale , Sven Dietrich Subject: Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning In-Reply-To: <20090110005342.GC1972@shareable.org> Message-ID: References: <20090109133710.GB31845@elte.hu> <20090109204103.GA17212@elte.hu> <20090109213442.GA20051@elte.hu> <1231537320.5726.2.camel@brick> <1231538387.5825.2.camel@brick> <1231539918.5825.7.camel@brick> <20090110005342.GC1972@shareable.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 21 On Sat, 10 Jan 2009, Jamie Lokier wrote: > > Does "always_inline" complain if the function isn't inlinable, while > "inline" allows it? That would explain the alpha comment. I suspect it dates back to gcc-3.1 days. It's from 2004. And the author of that comment is a part-time gcc hacker who was probably offended by the fact that we thought (correctly) that a lot of gcc inlining was totally broken. Since he was the main alpha maintainer, he got to do things his way there.. 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/