lkml.org 
[lkml]   [2009]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] lockdep: Don't only check recursive read locks once in a sequence
From
Date
On Thu, 2009-11-19 at 16:55 +0100, Frederic Weisbecker wrote:
> And btw I
> don't understand why rwsem read locks are not considered as
> recursive in lockdep.

Because they're not.

rwsems are FIFO fair, so a double read can deadlock when there's a
pending writer inbetween.



\
 
 \ /
  Last update: 2009-11-19 18:17    [W:0.239 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site