Messages in this thread | | | From | Rob Landley <> | Subject | Re: CONFIG_TINY | Date | Mon, 4 Nov 2002 16:09:48 +0000 |
| |
On Monday 04 November 2002 19:51, Tom Rini wrote: > On Mon, Nov 04, 2002 at 02:13:48AM +0000, Rob Landley wrote:
> > I've used -Os. I've compiled dozens and dozens of packages with -Os. It > > has always saved at least a few bytes, I have yet to see it make > > something larger. And in the benchmarks I've done, the smaller code > > actually runs slightly faster. More of it fits in cache, you know. > > Then we don't we always use -Os?
I normally do, actually. Works For Me (tm). Dunno about all possible architectures or all kernel versions, but then compiling WITHOUT -O2 apparently produces an unusable kernel due to some missing needed inlines, so...
There's also a drive to "inline less stuff" underway, which I consider vaguely related...
Rob
-- http://penguicon.sf.net - Terry Pratchett, Eric Raymond, Pete Abrams, Illiad, CmdrTaco, liquid nitrogen ice cream, and caffienated jello. Well why not? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |