The patch titled Subject: init/Kconfig: enable -O3 for all arches has been added to the -mm tree. Its filename is init-kconfig-enable-o3-for-all-arches.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/init-kconfig-enable-o3-for-all-arches.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/init-kconfig-enable-o3-for-all-arches.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Oleksandr Natalenko <oleksandr@xxxxxxxxxx> Subject: init/Kconfig: enable -O3 for all arches Building a kernel with -O3 may help in hunting bugs like [1] and thus using this switch should not be restricted to one specific arch only. So let's expose it. If for some reasone we have to hide it, lets hide it under EXPERT. The commit is made against next-20191210 tag. [1] https://lore.kernel.org/lkml/673b885183fb64f1cbb3ed2387524077@xxxxxxxxxxxxxx/ Link: http://lkml.kernel.org/r/20191210145657.105808-1-oleksandr@xxxxxxxxxx Signed-off-by: Oleksandr Natalenko <oleksandr@xxxxxxxxxx> Cc: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Jessica Yu <jeyu@xxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx> Cc: Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> Cc: David Howells <dhowells@xxxxxxxxxx> Cc: Patrick Bellasi <patrick.bellasi@xxxxxxx> Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Cc: Dan Williams <dan.j.williams@xxxxxxxxx> Cc: "Eric W . Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/Kconfig | 1 - 1 file changed, 1 deletion(-) --- a/init/Kconfig~init-kconfig-enable-o3-for-all-arches +++ a/init/Kconfig @@ -1228,7 +1228,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE config CC_OPTIMIZE_FOR_PERFORMANCE_O3 bool "Optimize more for performance (-O3)" - depends on ARC imply CC_DISABLE_WARN_MAYBE_UNINITIALIZED # avoid false positives help Choosing this option will pass "-O3" to your compiler to optimize _ Patches currently in -mm which might be from oleksandr@xxxxxxxxxx are init-kconfig-enable-o3-for-all-arches.patch