Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 13:43:37 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Bruce Evans <bde@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_glue.c 
Message-ID:  <6364.1075380217@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 29 Jan 2004 04:35:11 PST." <200401291235.i0TCZBDG036160@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200401291235.i0TCZBDG036160@repoman.freebsd.org>, Bruce Evans write
s:

>  A more complete fix would remove the SYSINIT obfuscation.

I don't think SYSINIT is very easy to get a grip on and that it
could be improved, but removing it would not improve the situation
IMO.

I agree that the FIRST/SECOND/ANY order thing is obscure, and that
the general ordering thing is badly thoughtout or at least horribly
implemented.

The correct solution IMO is probably to record the dependencies
explicitly, but that would require a nomenclature where we can refer
to other sysinits in a sane manner.

One short-range improvement for the contiguous kernel would be to
abandon linker-sets, and instead generate a C-function at compile
time which people could inspect to see what's going on.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6364.1075380217>