From owner-cvs-all Wed Jun 19 14:26:10 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 37DF037B410; Wed, 19 Jun 2002 14:26:00 -0700 (PDT) Received: (from arr@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5JLPxu04373; Wed, 19 Jun 2002 14:25:59 -0700 (PDT) (envelope-from arr) Message-Id: <200206192125.g5JLPxu04373@freefall.freebsd.org> From: "Andrew R. Reiter" Date: Wed, 19 Jun 2002 14:25:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c 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/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