lkml.org 
[lkml]   [2009]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LTTng "TIF_KERNEL_TRACE"
On Tue, Apr 28, 2009 at 12:38:25PM -0400, Mathieu Desnoyers wrote:
> No, read-write lock is a "special case" where it does not deadlock if
> you have an interrupt handler taking the read lock over another read
> lock. It's just the write lock that _must absolutely_ disable
> interrupts.


Ah, you're right, I was thinking with spinlock rules in mind :)


> However, the "latency race" scenario I explained above applies here,
> because the write lock disables interrupts and the read locks doesn't.
>
> Mathieu
>



\
 
 \ /
  Last update: 2009-04-28 18:47    [W:0.077 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site