Date: Sun, 17 Mar 2002 23:45:31 -0800 (PST) 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 kern_module.c kern_syscalls.c src/sys/sys module.h Message-ID: <200203180745.g2I7jVd79886@freefall.freebsd.org>
index | next in thread | raw e-mail
arr 2002/03/17 23:45:31 PST
Modified files:
sys/kern kern_module.c kern_linker.c
kern_syscalls.c
sys/sys module.h
Log:
- Lock down the ``module'' structure by adding an SX lock that is used by
all the global bits of ``module'' data. This commit adds a few generic
macros, MOD_SLOCK, MOD_XLOCK, etc., that are meant to be used as ways
of accessing the SX lock. It is also the first step in helping to lock
down the kernel linker and module systems.
Reviewed by: jhb, jake, smp@
Revision Changes Path
1.80 +8 -7 src/sys/kern/kern_linker.c
1.33 +58 -19 src/sys/kern/kern_module.c
1.9 +6 -1 src/sys/kern/kern_syscalls.c
1.20 +9 -0 src/sys/sys/module.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203180745.g2I7jVd79886>
