Re: [PATCH/RFC] remove duplicate #includes, take II
From: Benjamin LaHaise
Date: Sun Feb 19 2006 - 18:50:17 EST
On Sat, Feb 18, 2006 at 03:55:25PM +0100, Herbert Poetzl wrote:
> so if folks want to cherry pick and/or comment on
> the first two categories, please do so, I will
> collect all the feedback and produce a patch to
> get rid of the duplicates later ...
This sort of patch isn't as interesting as actually fixing the mess
known as include/linux/sched.h and include/linux/sched.h... Most places
in the kernel don't actually need the majority of sched.h, just a handful
of functions like set_task_state(). fs.h is another tangled web of
dependancies. I did some experimenting back in the 2.2 days and it was
possible to cut something like 10-20% off the kernel build time.
That said, it's a big job.
-ben
--
"Ladies and gentlemen, I'm sorry to interrupt, but the police are here
and they've asked us to stop the party." Don't Email: <dont@xxxxxxxxx>.
-
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/