From owner-cvs-all Thu Jun 20 8:28:48 2002 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id B4B2C37B407; Thu, 20 Jun 2002 08:28:40 -0700 (PDT) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.3/8.12.3) with ESMTP id g5KFSdsh017259; Thu, 20 Jun 2002 11:28:39 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.12.3/8.12.3/Submit) with SMTP id g5KFSdhZ017256; Thu, 20 Jun 2002 11:28:39 -0400 (EDT) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Thu, 20 Jun 2002 11:28:38 -0400 (EDT) From: "Andrew R. Reiter" To: Doug Rabson Cc: "Andrew R. Reiter" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_linker.c In-Reply-To: <200206201000.13151.dfr@nlsystems.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Thu, 20 Jun 2002, Doug Rabson wrote: :On Wednesday 19 June 2002 10:25 pm, Andrew R. Reiter wrote: :> 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. : :What about classes that are loaded later? : There now exists a flag in linker_add_class() that disallows this. Cheers, -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message