Date: Wed, 19 Jun 2002 14:25:59 -0700 (PDT) From: "Andrew R. Reiter" <arr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c Message-ID: <200206192125.g5JLPxu04373@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
arr 2002/06/19 14:25:59 PDT
Modified files:
sys/kern kern_linker.c
Log:
- Remove the lock(9) protecting the kernel linker system.
- Added a mutex, kld_mtx, to protect the kernel_linker system. Note that
while ``classes'' is global (to that file), it is only read only after
SI_SUB_KLD, SI_ORDER_ANY.
- Add a SYSINIT to flip a flag that disallows class registration after
SI_SUB_KLD, SI_ORDER_ANY.
Idea for ``classes'' read only by: jake
Reviewed by: jake
Revision Changes Path
1.90 +46 -14 src/sys/kern/kern_linker.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206192125.g5JLPxu04373>
