Re: pci_pool_free from IRQ

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 May 2001 22:39:56 +0100 (BST)


> This sure makes life difficult. Device removal events can be called
> from interrupt context according to Documentation/pci.txt. This is
> certainly a place where one might want to call pci_consistent_free.

None of our device code supports interrupt based device removal. In fact
many drivers use vmalloc directly so will hit the same problem the
pci_consistent_free hits on the ARM.

I suspect we should fix the documentation (and if need be the code) to reflect
the fact that you have to be completely out of your tree to handle device
removal in the irq handler
-
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/