[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220621133526.29662-2-mikoxyzzz@gmail.com>
Date: Tue, 21 Jun 2022 15:35:25 +0200
From: Miko Larsson <mikoxyzzz@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Miko Larsson <mikoxyzzz@...il.com>, linux-kbuild@...r.kernel.org,
x86@...nel.org, Nathan Chancellor <nathan@...nel.org>,
Vlastimil Babka <vbabka@...e.cz>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Sean Christopherson <seanjc@...gle.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Chris Down <chris@...isdown.name>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
John Ogness <john.ogness@...utronix.de>,
Elliot Berman <quic_eberman@...cinc.com>,
Oleksandr Natalenko <oleksandr@...hat.com>
Subject: [PATCH 1/2] Kconfig: Mark -O3 as experimental
Mark -O3 as experimental, as it might cause unwanted regressions for
users.
Signed-off-by: Miko Larsson <mikoxyzzz@...il.com>
---
init/Kconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index c7900e897..9c292acb2 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1402,12 +1402,15 @@ config CC_OPTIMIZE_FOR_PERFORMANCE
helpful compile-time warnings.
config CC_OPTIMIZE_FOR_PERFORMANCE_O3
- bool "Optimize more for performance (-O3)"
+ bool "Optimize more for performance (-O3) (EXPERIMENTAL)"
depends on ARC
help
Choosing this option will pass "-O3" to your compiler to optimize
the kernel yet more for performance.
+ This option is EXPERIMENTAL; you may encounter compiler bugs and/or
+ kernel bugs with this option enabled.
+
config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size (-Os)"
help
--
2.36.1
Powered by blists - more mailing lists