From owner-cvs-all Tue Aug 13 5:50:19 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44FAD37B400; Tue, 13 Aug 2002 05:50:13 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 652C843E42; Tue, 13 Aug 2002 05:50:12 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g7DCbGOo080630; Tue, 13 Aug 2002 08:37:16 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 13 Aug 2002 08:37:15 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sysv_msg.c In-Reply-To: <20020813080205.GF65814@elvis.mu.org> 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 Tue, 13 Aug 2002, Alfred Perlstein wrote: > * Alfred Perlstein [020813 01:00] wrote: > > alfred 2002/08/13 01:00:36 PDT > > > > Modified files: > > sys/kern sysv_msg.c > > Log: > > Make SYSVMSG mpsafe. Right now there is a global lock over the > > entire subsystem, we could move to per-message queue locks, however > > the messages themselves seem to come from a global pool and to avoid > > over-locking this code (locking individual queues, then the global > > pool) I've opted to just do it this way. > > > > Requested by: rwatson > > Tested by: NetBSD's regression suite. > > I'll probably have SYSVSEM done tomorrow, it's quite a bit more > complicated since I didn't use a global lock so I'm going to test it a > lot harder to make sure it's correct. Great, thanks! Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message