[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kySVvOQ7eqwe0Jzz3V0JTtrcqODHR9Ty4-sfDMdzP6XQ@mail.gmail.com>
Date: Tue, 24 May 2022 16:16:39 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Dan <dan.carpenter@...cle.com>,
Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
linux-kernel <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Miguel Ojeda <ojeda@...nel.org>
Subject: Re: [RFC PATCH] kbuild: Add an option to enable -O1 and speed-up
compilation time
On Mon, May 23, 2022 at 8:27 PM Nick Desaulniers
<ndesaulniers@...gle.com> wrote:
>
> As with the Rust series, I'm not a fan of this (or
> CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3):
> https://lore.kernel.org/lkml/CAKwvOd=7QTUH69+ZbT7e8einvgcosTbDkyohmPaUBv6_y8RfrQ@mail.gmail.com/
I think it should be decided whether we want extra levels or not, and
apply that policy to both the C and Rust sides.
If we don't, then yeah, let's remove them in both sides and just let
users modify `CFLAGS` as needed.
If we do, then having them as config options makes sense so that they
can be kept working.
Cheers,
Miguel
Powered by blists - more mailing lists