Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Nov 2002 02:08:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Nov 2002 02:08:06 -0500 Received: from pimout1-ext.prodigy.net ([207.115.63.77]:14502 "EHLO pimout1-ext.prodigy.net") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Mon, 4 Nov 2002 02:07:57 -0500 Content-Type: text/plain; charset=US-ASCII From: Rob Landley Reply-To: landley@trommello.org To: Tom Rini , Bill Davidsen Subject: Re: CONFIG_TINY Date: Mon, 4 Nov 2002 02:13:48 +0000 User-Agent: KMail/1.4.3 Cc: Adrian Bunk , Rasmus Andersen , linux-kernel@vger.kernel.org References: <20021031011002.GB28191@opus.bloom.county> <20021101141559.GD815@opus.bloom.county> In-Reply-To: <20021101141559.GD815@opus.bloom.county> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200211012059.32304.landley@trommello.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1435 Lines: 33 On Friday 01 November 2002 14:15, Tom Rini wrote: > > Sure, and unrolling loops can cause cache misses and be slower than that > > jmp back in a loop. The point is this is a string, the people who think > > they're able to hand diddle the options can change it. And more to the > > point anyone who can't find a string in a makefile shouldn't be second > > guessing the compiler anyway. > > Yes, so why can't those who still need a few more kB after trying some > of the other options go and find '-O2' and replace it with '-Os' ? Because the point of CONFIG_TINY is to make the kernel smaller and this is something that makes the kernel smaller? (In fact telling the compiler "optimize for size" is one of the most OBVIOUS things to do?) 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. 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/