[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An idea of remove MUTEX_WAKE_ALL
- To: Daniel Eischen <deischen_(_at_)_freebsd_(_dot_)_org>
- Subject: Re: An idea of remove MUTEX_WAKE_ALL
- From: Scott Long <scottl_(_at_)_samsco_(_dot_)_org>
- Date: Tue, 03 Jan 2006 13:18:26 -0700
- Cc: freebsd-hackers_(_at_)_freebsd_(_dot_)_org, prime <guomingyan_(_at_)_gmail_(_dot_)_com>
Daniel Eischen wrote:
On Tue, 3 Jan 2006, Scott Long wrote:
for a bit if the current lock owner is running on another CPU?
Do we currently do that?
(*) No, I am not referring to spin mutexes.
Adaptive mutexes are enabled by default and have been for at least a
year.
Ahh, then that's what they (Adaptive) do.
Well, it's a bit different from Solaris, I believe. They do not sleep
after a certain number of contested spins, and instead just continue to
spin. As we reduce the coverage of large contested locks (like Giant)
this becomes much less of performance problem, though.
Scott
_______________________________________________
freebsd-hackers_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org