[PATCH v2 05/11] locking/ww_mutex: Add waiters in stamp order

Peter Zijlstra peterz at infradead.org
Fri Dec 16 20:00:23 UTC 2016

On Fri, Dec 16, 2016 at 07:11:41PM +0100, Nicolai Hähnle wrote:
> mutex_optimistic_spin() already calls __mutex_trylock, and for the no-spin
> case, __mutex_unlock_slowpath() only calls wake_up_q() after releasing the
> wait_lock.

mutex_optimistic_spin() is a no-op when !CONFIG_MUTEX_SPIN_ON_OWNER

More information about the dri-devel mailing list