cvs commit: src/sys/vm vm_glue.c

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jan 29 04:43:40 PST 2004


In message <200401291235.i0TCZBDG036160 at 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 at 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.


More information about the cvs-src mailing list