Thread (104 messages) 104 messages, 13 authors, 2013-02-19

[PATCH v5 01/45] percpu_rwlock: Introduce the global reader-writer lock backend

From: rostedt@goodmis.org (Steven Rostedt)
Date: 2013-01-22 20:54:29
Also in: linux-arch, linux-pm, linuxppc-dev, lkml, netdev

On Wed, 2013-01-23 at 01:28 +0530, Srivatsa S. Bhat wrote:
quoted
I thought global locks are now fair. That is, a reader will block if a
writer is waiting. Hence, the above should deadlock on the current
rwlock_t types.
Oh is it? Last I checked, lockdep didn't complain about this ABBA scenario!
It doesn't and Peter Zijlstra said we need to fix that ;-)  It only
recently became an issue with the new "fair" locking of rwlocks.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help