lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJKOXPfN4r+fi5R0GOyvQnQ6yn7hQvi+cScDD5THqF8X0nOX7w@mail.gmail.com>
Date:   Tue, 10 Dec 2019 16:37:09 +0100
From:   Krzysztof Kozlowski <krzk@...nel.org>
To:     Oleksandr Natalenko <oleksandr@...hat.com>
Cc:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Masahiro Yamada <yamada.masahiro@...ionext.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Jessica Yu <jeyu@...nel.org>, Tejun Heo <tj@...nel.org>,
        Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
        Joel Fernandes <joel@...lfernandes.org>,
        David Howells <dhowells@...hat.com>,
        Patrick Bellasi <patrick.bellasi@....com>,
        Dan Williams <dan.j.williams@...el.com>,
        "Eric W . Biederman" <ebiederm@...ssion.com>
Subject: Re: [PATCH RFC] init/Kconfig: enable -O3 for all arches

On Tue, 10 Dec 2019 at 15:57, Oleksandr Natalenko <oleksandr@...hat.com> wrote:
>
> 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.
>
> Thus lets expose it. If for some reasone we have to hide it, lets hide
> it under EXPERT.

You are not hiding it under EXPERT so no need to document in commit
log theoretical future decisions.

> The commit is made against next-20191210 tag.

This does not belong to commit message. You can put such under the ---
separator.

Best regards,
Krzysztof

>
> [1] https://lore.kernel.org/lkml/673b885183fb64f1cbb3ed2387524077@natalenko.name/
>
> Signed-off-by: Oleksandr Natalenko <oleksandr@...hat.com>
> ---
>  init/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index a34064a031a5..b41b18edb10e 100644
> --- a/init/Kconfig
> +++ b/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
> --
> 2.24.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ