Is MTX_CONTESTED evil?
Doug White
dwhite at gumbysoft.com
Tue Mar 16 13:32:10 PST 2004
On Tue, 16 Mar 2004, Seigo Tanimura wrote:
> What would it be like if we axed MTX_CONTEST and let
> _mtx_unlock_sleep() wake up all of the blocked threads?
Excuse my naievete, but this sounds like it would trigger a
thundering-herd response on a heavily contested mutex (like Giant). That
would be Bad. :)
--
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-arch
mailing list