Re: [PATCH] moving task_struct

Dave Jones (davej@suse.de)
Fri, 1 Mar 2002 22:14:59 +0100


On Fri, Mar 01, 2002 at 03:55:37PM -0500, Jeff Garzik wrote:
> > The patch below simply moves task_struct into its own header file.
> > This makes thread_info and task_struct indepedent from sched.h and will
> > allows archs to decide themselves the dependencies between these
> > structures.
>
> nice... In addition to your second patch, this first patch may be a
> small step in paving the way for further unraveling of nasty include
> dependencies.

Indeedy doody. Roman has a nice set of Ruby scripts, which in
conjunction with acme's dependancy graph scripts make for some
interesting reading.

It's tedious work unraveling some of the dependancies, but it's
paid off quite a bit already. (For a real horror story, see
the raid includes. They pull in an obscene amount of extra
headers 8-)

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/