Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2006 19:23:31 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        Robert Watson <rwatson@freebsd.org>, freebsd-performance@freebsd.org, performance@freebsd.org, current@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
Message-ID:  <20060507232331.GB7670@xor.obsecurity.org>
In-Reply-To: <200605080722.06435.davidxu@freebsd.org>
References:  <20060506150622.C17611@fledge.watson.org> <20060507214153.GA5275@xor.obsecurity.org> <20060507230430.GA6872@xor.obsecurity.org> <200605080722.06435.davidxu@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--St7VIuEGZ6dlpu13
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Mon, May 08, 2006 at 07:22:06AM +0800, David Xu wrote:
> On Monday 08 May 2006 07:04, Kris Kennaway wrote:
>=20
> > i.e. apparently not a large difference, but still a large proportion
> > of cases where multiple CPUs are woken at once on the same chain.
> >
> > Kris
> This becauses there is no sleepable mutex available, so I had to use
> msleep and wakeup, this is suboptimal, I may put flag MTX_QUIET there
> to let WITNESS shut up.

Can you use wakeup_one()?

Kris


--St7VIuEGZ6dlpu13
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEXoFzWry0BWjoQKURAgVVAJ9oD9FK+zYc12YEJzOZfAN8MmzapwCgttR9
VeRXaBbj3eWlKdlBegnB0HE=
=o3CD
-----END PGP SIGNATURE-----

--St7VIuEGZ6dlpu13--



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