Re: [PATCH] prepare kconfig inline optimization for all architectures

Christoph Hellwig
2008-04-27T17:57:54Z

On Sun, Apr 27, 2008 at 10:32:28AM -0700, Linus Torvalds wrote:
> Modern versions of gcc may do the right thing. Note the two very important
> code-words: "modern" and "may".

It's even worse than that, that may not even get it right. That's why
we need always_inline to force it when we know we need it. Now for the
cases where we don't know know that we either need or really really
strongly want it we should just not mark it inline at all.