Re: {interruptible_,}sleep_on question

Richard B. Johnson (root@chaos.analogic.com)
Mon, 1 Nov 1999 11:28:18 -0500 (EST)


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()?
>
[SNIPPED]

The opposite. Nobody can sleep if a global lock is held or the interrupts
are disabled. To do so is death.

Cheers,
Dick Johnson

Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
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/