Messages in this thread | | | Date | Mon, 11 Feb 2002 21:34:52 +0100 (CET) | From | Gérard Roudier <> | Subject | Re: pci_pool reap? |
| |
On Mon, 11 Feb 2002, David S. Miller wrote:
> From: Gérard Roudier <groudier@free.fr> > Date: Sun, 10 Feb 2002 21:20:05 +0100 (CET) > > On Mon, 11 Feb 2002, Alan Cox wrote: > > > This function may not be called in interrupt context. > > Such limitation looks poor implementation to me. > > I agree with you Gerard, and probably nobody truly even requires > this limitation. I do plan to remove it after I've done a thorough > investigation of the platform implementations.
In the meantime, you may just queue the thing to memory (as the allocated memory chunk is likely to be larger than a pointer given alignment) and use some helper thread that dequeue things to free and does the actual free in 'non-interrupt' context (only on ports that are unable to free under interrupt context, obviously).
Gérard.
- 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/
| |