Re: [PATCH 0000/2297] [ANNOUNCE, RFC] "Fast Kernel Headers" Tree -v1: Eliminate the Linux kernel's "Dependency Hell"

From: Andy Shevchenko
Date: Wed Jan 05 2022 - 04:37:42 EST


On Wed, Jan 5, 2022 at 4:08 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Mon, Jan 3, 2022 at 6:12 AM Ingo Molnar <mingo@xxxxxxxxxx> wrote:

...

> Most of the patches should be the same either way (adding back
> missing includes to drivers, and doing cleanups to commonly
> included headers to avoid the deep nesting), the interesting bit
> will be how to properly define the larger structures without pulling
> in the rest of the world.

I'm wondering if the compiler can provide us the statistics of usage
on a per custom type basis. In this case the highest frequency will
probably mean that we better have that type in a separate header or
tree of _independent_ headers.


--
With Best Regards,
Andy Shevchenko