Skip to content

Kconfig: -O3 enablement

Miko Larsson linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Kconfig: Mark -O3 as experimentalinit/Kconfig+4 -10 replies
2/2Kconfig: Allow -O3 for all architecturesinit/Kconfig+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Kconfig: -O3 enablement

Hi,

This very small series allows -O3 to be used for all architectures. The first patch marks -O3 as experimental, with the reasoning being that it might expose unwanted regressions to users, and the second patch actually allows -O3 by removing the "depend on ARC" string.

The reasoning behind this series is to open up -O3 so that bugs related to it (both compiler-related and kernel-related) can be discovered by eyeballs wanting to improve the "-O3 experience," as that might be beneficial to both compilers and the kernel. This has been attempted before [1], but unfortunately nothing ever came of it.

[1] https://lore.kernel.org/lkml/[email protected]/

Cc Nathan Chancellor <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Nick Desaulniers <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Sebastian Andrzej Siewior <[email protected]>
Cc Sean Christopherson <[email protected]>
Cc "Gustavo A. R. Silva" <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Chris Down <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc John Ogness <[email protected]>
Cc Elliot Berman <[email protected]>
Cc Oleksandr Natalenko <[email protected]>

Miko Larsson (2):
Kconfig: Mark -O3 as experimental
Kconfig: Allow -O3 for all architectures

 init/Kconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.36.1