Re: hotplug and interrupt context

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sun Mar 11 2001 - 22:18:18 EST


Andreas Bombe wrote:
>
> I couldn't trace that down to be 100% sure and it's better to conform to
> design than implementation, so I'll ask:
>
> Do the probe and remove functions of a pci_driver have to be able to
> work in interrupt context? (i.e. GFP_ATOMIC and stuff)

No, no interrupt context to worry about. It would really suck if you
couldn't sleep in pci_driver::probe :)

For CardBus, it calls schedule_task ..

-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:13 EST