Fine-grained locking for POSIX local sockets (UNIX domain sockets)

Kris Kennaway kris at obsecurity.org
Sun May 7 23:23:59 UTC 2006


On Mon, May 08, 2006 at 07:22:06AM +0800, David Xu wrote:
> On Monday 08 May 2006 07:04, Kris Kennaway wrote:
> 
> > 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-performance/attachments/20060507/1a6577a1/attachment-0001.pgp


More information about the freebsd-performance mailing list