From owner-cvs-all Tue Aug 13 1: 2:12 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 8B85237B400; Tue, 13 Aug 2002 01:02:05 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C6543E4A; Tue, 13 Aug 2002 01:02:05 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 1C9B1AE211; Tue, 13 Aug 2002 01:02:05 -0700 (PDT) Date: Tue, 13 Aug 2002 01:02:05 -0700 From: Alfred Perlstein To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, rwatson@freebsd.org Subject: Re: cvs commit: src/sys/kern sysv_msg.c Message-ID: <20020813080205.GF65814@elvis.mu.org> References: <200208130800.g7D80ajd021058@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208130800.g7D80ajd021058@freefall.freebsd.org> User-Agent: Mutt/1.3.27i 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 * 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. -- -Alfred Perlstein [alfred@freebsd.org] [#bsdcode/efnet/irc.prison.net] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message