[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202312141338.CAA7708BC4@keescook>
Date: Thu, 14 Dec 2023 13:39:09 -0800
From: Kees Cook <keescook@...omium.org>
To: tanzirh@...gle.com
Cc: Andy Shevchenko <andy@...nel.org>, linux-hardening@...r.kernel.org,
linux-kernel@...r.kernel.org, Nick DeSaulniers <nnn@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>, llvm@...ts.linux.dev
Subject: Re: [PATCH v2 2/2] lib/string: shrink lib/string.i via IWYU
On Thu, Dec 14, 2023 at 09:06:13PM +0000, tanzirh@...gle.com wrote:
> This diff uses an open source tool include-what-you-use (IWYU) to modify
> the include list changing indirect includes to direct includes.
> IWYU is implemented using the IWYUScripts github repository which is a tool that is
> currently undergoing development. These changes seek to improve build times.
>
> This change to lib/string.c resulted in a preprocessed size of
> lib/string.i from 26371 lines to 5259 lines (-80%) for the x86
> defconfig.
>
> Link: https://github.com/ClangBuiltLinux/IWYUScripts
>
nit: Please drop this blank line to keep your tags together.
> Signed-off-by: Tanzir Hasan <tanzirh@...gle.com>
I'm glad to see such a big difference with just a little header
tweaking. I look forward to more like this!
Reviewed-by: Kees Cook <keescook@...omium.org>
--
Kees Cook
Powered by blists - more mailing lists