Re: {interruptible_,}sleep_on question

Andrea Arcangeli (andrea@suse.de)
Mon, 1 Nov 1999 18:47:43 +0100 (CET)


On Mon, 1 Nov 1999, Manfred Spraul wrote:

>Is it correct that drivers which call {interruptible_,}sleep_on can miss
>wakeup events unless they either own the big kernel lock or the
>global-cli lock before calling sleep_on()?

Yes in general. They should instead check for the event after they have
set the state to [un]interruptible and they are registered in the
waitqueue.

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/