Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757730AbZAIVmW (ORCPT ); Fri, 9 Jan 2009 16:42:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755913AbZAIVmJ (ORCPT ); Fri, 9 Jan 2009 16:42:09 -0500 Received: from wf-out-1314.google.com ([209.85.200.169]:34466 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755107AbZAIVmG (ORCPT ); Fri, 9 Jan 2009 16:42:06 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=mG8XYzjmTgS8nmANsHfZHgVSKQDtzvFitXdDxco/P/fHM8lnMdvRg3yD5N+afj0tSm 4qHhO6hAOxDgcrCD4bW5CpGmbc3CFkfPW5xdKlSliXy0DlnQWIU/a3QUkY4FGXwfOQsz QobJMUbQSgrC0mw+IviKSlGD+AY/MASjQsP2E= Subject: Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning From: Harvey Harrison To: Ingo Molnar Cc: Linus Torvalds , "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 In-Reply-To: <20090109213442.GA20051@elte.hu> References: <1231434515.14304.27.camel@think.oraclecorp.com> <20090108183306.GA22916@elte.hu> <20090108190038.GH496@one.firstfloor.org> <4966AB74.2090104@zytor.com> <20090109133710.GB31845@elte.hu> <20090109204103.GA17212@elte.hu> <20090109213442.GA20051@elte.hu> Content-Type: text/plain Date: Fri, 09 Jan 2009 13:41:59 -0800 Message-Id: <1231537320.5726.2.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 25 On Fri, 2009-01-09 at 22:34 +0100, Ingo Molnar wrote: > The naming problem remains though: > > - Perhaps we could introduce a name for the first category: __must_inline? > __should_inline? Not because it wouldnt mean 'always', but because it is > 'always inline' for another reason than the correctless __always_inline. > > - Another possible approach wuld be to rename the second category to > __force_inline. That would signal it rather forcefully that the inlining > there is an absolute correctness issue. __needs_inline? That would imply that it's for correctness reasons. Then __always_inline is left to mean that it doesn't _need_ to be inline but we _want_ it inline regardless of what gcc thinks? $0.02 Harvey -- 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/