From owner-cvs-all Sun Mar 17 23:45:39 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8110837B402; Sun, 17 Mar 2002 23:45:31 -0800 (PST) Received: (from arr@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2I7jVd79886; Sun, 17 Mar 2002 23:45:31 -0800 (PST) (envelope-from arr) Message-Id: <200203180745.g2I7jVd79886@freefall.freebsd.org> From: "Andrew R. Reiter" Date: Sun, 17 Mar 2002 23:45:31 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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