Re: gcc inlining heuristics was Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning

From: Nick Piggin
Date: Mon Jan 19 2009 - 01:22:29 EST

On Mon, Jan 19, 2009 at 01:13:45AM +0100, Ingo Molnar wrote:
> * Bernd Schmidt <bernds_cb1@xxxxxxxxxxx> 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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at