lkml.org 
[lkml]   [1999]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i386 rwlock bug?
On Fri, 20 Aug 1999 manfreds@colorfullife.com wrote:

>if a writer spins (interupts are enabled), then an interrupt occurs,
>then you have a dead-lock.

This is true also with the current code. You must locally disable irqs
before going to spin over a write-lock if some reader can run inside irq
handlers.

Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.042 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site