Messages in this thread | | | Date | Tue, 2 Nov 1999 02:06:02 -0500 (EST) | From | Ingo Molnar <> | Subject | Re: 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/
| |