Re: [PATCH] prepare kconfig inline optimization for all architectures

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Arjan van de Ven <arjan@...>, Christoph Hellwig <hch@...>, Sam Ravnborg <sam@...>, Adrian Bunk <bunk@...>, linux arch <linux-arch@...>, LKML <linux-kernel@...>, David Miller <davem@...>
Date: Sunday, April 27, 2008 - 7:41 pm

* Linus Torvalds <torvalds@linux-foundation.org> wrote:


i was wondering about that when doing the OPTIMIZE_INLINING change - 
lets do something like the patch below?

	Ingo

-------------->
Subject: make CC_OPTIMIZE_FOR_SIZE non-experimental
From: Ingo Molnar <mingo@elte.hu>
Date: Mon Apr 28 01:39:43 CEST 2008

this option has been the default on a wide range of distributions
for a long time - time to make it non-experimental.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 init/Kconfig |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Index: linux-x86.q/init/Kconfig
===================================================================
--- linux-x86.q.orig/init/Kconfig
+++ linux-x86.q/init/Kconfig
@@ -496,16 +496,12 @@ source "usr/Kconfig"
 endif
 
 config CC_OPTIMIZE_FOR_SIZE
-	bool "Optimize for size (Look out for broken compilers!)"
+	bool "Optimize for size"
 	default y
-	depends on ARM || H8300 || SUPERH || EXPERIMENTAL
 	help
 	  Enabling this option will pass "-Os" instead of "-O2" to gcc
 	  resulting in a smaller kernel.
 
-	  WARNING: some versions of gcc may generate incorrect code with this
-	  option.  If problems are observed, a gcc upgrade may be needed.
-
 	  If unsure, say N.
 
 config SYSCTL
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] prepare kconfig inline optimization for all arch..., Christoph Hellwig, (Sun Apr 27, 1:57 pm)
Re: [PATCH] prepare kconfig inline optimization for all arch..., Christoph Hellwig, (Sun Apr 27, 2:25 pm)
Re: [PATCH] prepare kconfig inline optimization for all arch..., Christoph Hellwig, (Sun Apr 27, 2:00 pm)
Re: [PATCH] prepare kconfig inline optimization for all arch..., Christoph Hellwig, (Sun Apr 27, 2:14 pm)
Re: [PATCH] prepare kconfig inline optimization for all arch..., Christoph Hellwig, (Sun Apr 27, 2:36 pm)
Re: [PATCH] prepare kconfig inline optimization for all arch..., Ingo Molnar, (Sun Apr 27, 7:41 pm)
Re: [PATCH] prepare kconfig inline optimization for all arch..., Christoph Hellwig, (Sun Apr 27, 2:32 pm)