Re: [bloat] Measuring header file bloat effects on kernel buildperformance: a more than 2x slowdown ...
From: Sam Ravnborg
Date: Mon May 23 2011 - 12:19:22 EST
> Such thing happen due to:
> - header files only get added, almost never removed
> The key thing was that the build did not break when prefetch.h was kept
> dangling. Not sure what to do about that - for humans a dangling header is
> absolutely non-obvious to find - we'd need tooling help.
Long time ago I discussed this briefly with Christopher Li,
and he hacked support for this in sparse.
The branch is still around:
I never got around to play with it for various reasons.
IIRC it will list include files not used in _current_ configuration,
so use if CONFIG_ etc. may give different results.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/