Messages in this thread | | | Date | Sun, 27 Apr 2008 11:30:57 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [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
| |