From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Piggin Subject: Re: gcc inlining heuristics was Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning Date: Mon, 19 Jan 2009 07:22:12 +0100 Message-ID: <20090119062212.GC22584@wotan.suse.de> References: <20090112001255.GR26290@one.firstfloor.org> <20090112005228.GS26290@one.firstfloor.org> <496B86B5.3090707@t-online.de> <20090112193201.GA23848@one.firstfloor.org> <496BBE27.2020206@t-online.de> <20090119001345.GA9880@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bernd Schmidt , Linus Torvalds , Andi Kleen , David Woodhouse , Andrew Morton , Harvey Harrison , "H. Peter Anvin" , Chris Mason , Peter Zijlstra , Steven Rostedt , paulmck@linux.vnet.ibm.com, Gregory Haskins , Matthew Wilcox , Linux Kernel Mailing List , linux-fsdevel , linux-btrfs , Thomas Gleixner , Peter Morreale , Sven Dietrich , jh@suse.cz To: Ingo Molnar Return-path: In-Reply-To: <20090119001345.GA9880@elte.hu> List-ID: On Mon, Jan 19, 2009 at 01:13:45AM +0100, Ingo Molnar wrote: > > * Bernd Schmidt wrote: > > > Linus Torvalds wrote: > > > But you'll need some background to it: > > > > You paint a somewhat one-sided picture bordering on FUD. > > Type based aliasing should at most have been an opt-in for code that > cares, not a turned-on-by-default feature for everyone. I want to know what is the problem with the restrict keyword? I'm sure I've read Linus ranting about how bad it is in the past... it seems like a nice opt-in thing that can be used where the aliases are verified and the code is particularly performance critical...