Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 13:32:10 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Seigo Tanimura <tanimura@tanimura.dyndns.org>
Cc:        arch@FreeBSD.org
Subject:   Re: Is MTX_CONTESTED evil?
Message-ID:  <20040316133013.P42715@carver.gumbysoft.com>
In-Reply-To: <200403160519.i2G5J0V6023193@urban>
References:  <200403160519.i2G5J0V6023193@urban>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gumbysoft.com          |  www.FreeBSD.org



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