lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problem in md?

On Tue, 2 Nov 1999, Manfred Spraul wrote:

> cli()
> for(;;) {
> interruptible_sleep_on()

> are you aware that do_something() is called WITHOUT the global interrupt
> lock held?

yep, thanks for pointing this out. I've added asserts to sleep_on() ages
ago to fix exactly this type of breakage [check out linux-kernel archives
for sleep_on & cli], but actually forgot to fix this in the RAID code and
the asserts/warnings got removed from 2.2.

-- mingo


-
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:54    [W:0.032 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site