From owner-cvs-all Mon Apr 1 21:50:54 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 8580C37B41D; Mon, 1 Apr 2002 21:50:47 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g325ofw21664; Tue, 2 Apr 2002 00:50:41 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 2 Apr 2002 00:50:40 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Jonathan Mini Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: www/en/smp index.sgml In-Reply-To: <20020401211036.C68138@stylus.haikugeek.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 Done, thanks! Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Mon, 1 Apr 2002, Jonathan Mini wrote: > Robert Watson [rwatson@FreeBSD.ORG] wrote : > > rwatson 2002/04/01 20:47:35 PST > > > > Modified files: > > en/smp index.sgml > > Log: > > Document Jonathan Mini's sysctl locking work. I'm not sure I understand > > exactly what MEMLOCK() protects, so there should really be more comments > > in kern_sysctl.c. Once they're there, I'll update the task. > > > > Document Jake's addition of a userland tool to manage KTR event dumps. > > So: > > --- sys/kern/kern_sysctl.c,old Mon Apr 1 21:05:33 2002 > +++ sys/kern/kern_sysctl.c Mon Apr 1 21:07:07 2002 > @@ -59,7 +59,7 @@ > static MALLOC_DEFINE(M_SYSCTLOID, "sysctloid", "sysctl dynamic oids"); > > /* > - * Locking and stats > + * Locking - this locks the sysctl tree in memory. > */ > static struct sx memlock; > > > Perhaps it would be a better idea to change MEMLOCK() to something like > SYSCTL_TREE_LOCK(), or perhaps just SYSCTL_LOCK(). It's only called MEMLOCK() > because phk called the old lock "memlock," which is a pretty silly reason. > > > Revision Changes Path > > 1.62 +16 -1 www/en/smp/index.sgml > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe cvs-all" in the body of the message > > -- > Jonathan Mini > mini@haikugeek.com > > desolation... despair... plastic forks... > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message