Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 05:25:03 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Peter Wemm <peter@wemm.org>, freebsd-arch@FreeBSD.ORG
Subject:   Re: Need review - patch for socket locking and ref counting
Message-ID:  <3BF6652F.FC50C99A@mindspring.com>
References:  <XFMail.011115124557.jhb@FreeBSD.org> <200111170300.fAH30dv75857@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:
> 
>     I've thought about it a bit and I've come to the conclusion that
>     we should *not* have multiple mutex pools.

It's pretty obvious even under casual thought that the deadlock
avoidance can't work correctly in theis scenario, so you MUST
limit yourself to last acquisition.

By the same token, it does not make sense to permit recursion on
such mutexes.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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