Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 01:02:05 -0700
From:      Alfred Perlstein <alfred@FreeBSD.org>
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>
In-Reply-To: <200208130800.g7D80ajd021058@freefall.freebsd.org>
References:  <200208130800.g7D80ajd021058@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <alfred@FreeBSD.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813080205.GF65814>