lkml.org 
[lkml]   [2008]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] prepare kconfig inline optimization for all architectures


On Sun, 27 Apr 2008, Christoph Hellwig wrote:
>
> Actually looking at older code in the tree he's most likely wrong :)
> Probably as bad as the compiler. But the nice part about the code is
> that we can fix it easily.

Good point.

It *would* be really interesting to have some way to check our assumptions
(both ways - warn about over-large inlines and small-and-hot non-inlines).

I considered making sparse give some size estimate for inlines and warn
about ones that generate a lot of code, but I was never able to do it
sanely.

Linus


\
 
 \ /
  Last update: 2008-04-27 20:35    [from the cache]
©2003-2011 Jasper Spaans