Re: BUG?: request_irq can apparently sleep

From: Arjan van de Ven
Date: Mon Oct 31 2005 - 16:22:33 EST


On Mon, 2005-10-31 at 11:41 +0100, Christian Ehrhardt wrote:
> Hi,
>
> the basic question is: Is request_irq allowed to sleep?

yes it sleeps.

problem is some (IDE) code calls it really early during boot in a place
you can't sleep, and during that early boot it also usually won't sleep.
Just that if we make request_irq() a might_sleep() then everyone gets
spew in their dmesg... and lots of bugreports



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