Re: includes cleanup.

From: William Lee Irwin III
Date: Thu Aug 19 2004 - 10:16:58 EST


On Thu, Aug 19, 2004 at 03:39:07PM +0100, Dave Jones wrote:
> I noticed that every file that could be built as a module was sucking
> in sched.h (and therefore, every other include file under the sun).
> This patch
[... which bits got moved to more appropriate places...]
> I've not done any measurements to see if this is noticable on a compile,
> as I'd expect it to be mostly in the noise anyway (though last time I
> did this in 2.5.early, it did shave off the best part of a minute off
> my worst-case-scenario build), but untangling the spaghetti of includes
> a little should at least mean gcc uses less memory during the build.
> comments?

sched.h is such an extreme garbage can header I wouldn't mind seeing the
whole thing torn completely apart. Every little trimming is good. =)


-- wli
-
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/