Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932519AbWHUBHp (ORCPT ); Sun, 20 Aug 2006 21:07:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932522AbWHUBHp (ORCPT ); Sun, 20 Aug 2006 21:07:45 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:38929 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S932519AbWHUBHo (ORCPT ); Sun, 20 Aug 2006 21:07:44 -0400 Date: Mon, 21 Aug 2006 03:07:44 +0200 From: Adrian Bunk To: Willy Tarreau Cc: Andreas Steinmetz , Arjan van de Ven , linux-kernel@vger.kernel.org, mtosatti@redhat.com, Mikael Pettersson Subject: Re: Linux 2.4.34-pre1 Message-ID: <20060821010744.GE11651@stusta.de> References: <20060816235459.GM7813@stusta.de> <20060817051616.GB13878@1wt.eu> <1155797331.4494.17.camel@laptopd505.fenrus.org> <44E42A4C.4040100@domdv.de> <20060817090651.GP7813@stusta.de> <44E433DB.9090501@domdv.de> <20060818232501.GE7813@stusta.de> <20060819044533.GB24543@1wt.eu> <20060821003549.GC11651@stusta.de> <20060821004146.GL602@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060821004146.GL602@1wt.eu> User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1696 Lines: 42 On Mon, Aug 21, 2006 at 02:41:46AM +0200, Willy Tarreau wrote: > On Mon, Aug 21, 2006 at 02:35:49AM +0200, Adrian Bunk wrote: > > On Sat, Aug 19, 2006 at 06:45:33AM +0200, Willy Tarreau wrote: > > >... > > > Sometimes it will be compilers, but not by that much. Gcc3.[34] generally > > > produce bigger code than 2.95 at -O2, but I don't think that people in the > > > embedded world still use 2.95 much. > > > > Comparing code size different gcc versions produce with -O2 is a bit > > unfair, the size of -Os code is more important in this case. > > Yes, but the code produced by gcc-3.[34] -Os is so unoptimized that it's > practically unusable for anything oocasionnaly using the CPU. I use it > mainly for bootloaders and tools like this. On the opposite, gcc-2.95 -Os > was still relatively well optimized, which often resulted in faster execution > due to smaller cache footprint. And for many programs, I have relied on this > combination. Embedded people often care more about size than about speed. E.g. the ARM people always use -Os (in both 2.4 and 2.6). For people not caring that much about size, the difference of the size of -O2 output shouldn't matter. > Cheers, > Willy cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/