Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932656AbZAJA7y (ORCPT ); Fri, 9 Jan 2009 19:59:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755376AbZAJA7n (ORCPT ); Fri, 9 Jan 2009 19:59:43 -0500 Received: from one.firstfloor.org ([213.235.205.2]:47150 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754020AbZAJA7m (ORCPT ); Fri, 9 Jan 2009 19:59:42 -0500 Date: Sat, 10 Jan 2009 02:13:56 +0100 From: Andi Kleen To: Jamie Lokier Cc: Harvey Harrison , Linus Torvalds , 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 Message-ID: <20090110011356.GV26290@one.firstfloor.org> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090110005342.GC1972@shareable.org> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 876 Lines: 27 On Sat, Jan 10, 2009 at 12:53:42AM +0000, Jamie Lokier wrote: > Harvey Harrison wrote: > > Oh yeah, and figure out what actually breaks on alpha such that they added > > the following (arch/alpha/include/asm/compiler.h) > > > > #ifdef __KERNEL__ > > /* Some idiots over in thought inline should imply > > always_inline. This breaks stuff. We'll include this file whenever > > we run into such problems. */ > > Does "always_inline" complain if the function isn't inlinable, while Yes it does. > "inline" allows it? (unless you set -Winline which the kernel doesn't) -Andi -- ak@linux.intel.com -- 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/