Re: [PATCH 00/28] Fast kernel headers: reduce header dependencies

From: Randy Dunlap
Date: Wed Jan 31 2024 - 16:44:27 EST


Hi Max,

On 1/31/24 06:49, Max Kellermann wrote:
> This patch set aims to reduce the dependencies between headers, in
> order to have cleaner code and speed up the build. It continues
> previous efforts by other developers.
>
> As a preparation, the first patch adds "#include" directives to source
> files that were missing previously, but due to indirect includes, this
> was never noticed. After the cleanup, many missing directives would
> result in a compiler failure.
>
> The second patch removes superfluous "#include" directives, some of
> which may be a leftover from refactoring patches.

[snip]

> Max Kellermann (28):
> include: add missing includes
> include: remove unnecessary #include directives

How were these (a) missing and (b) unnecessary includes
found or determined?
Did you use some tool for that? If so, which one?

thanks.
--
#Randy