Re: More PCI races...

From: David Woodhouse (dwmw2@infradead.org)
Date: Fri Jun 16 2000 - 05:12:59 EST


dhinds@valinux.com said:
> > Can we declare that pci_remove_device may not be called from IRQ
> > context?

> I think you can only declare it if you fix the kernel so it doesn't
> happen. I don't know what else (if anything) even uses this, but for
> CardBus, devices do get removed in IRQ context.

That's sort of what I meant by the question - how easy would it be to fix
up CardBus, which is the only current code I know of that's likely to do
this? Actually making the declaration and sticking the semaphore in is the
easy part :)

--
dwmw2

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



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:11 EST