From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning Date: Sat, 10 Jan 2009 02:13:56 +0100 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 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 To: Jamie Lokier Return-path: In-Reply-To: <20090110005342.GC1972@shareable.org> List-ID: 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