Re: [RFC] Initial alpha-0 for new page allocator API

From: Andi Kleen
Date: Fri Sep 22 2006 - 02:18:33 EST


On Friday 22 September 2006 06:02, Christoph Lameter wrote:
> We have repeatedly discussed the problems of devices having varying
> address range requirements for doing DMA.

We already have such an API. dma_alloc_coherent(). Device drivers
are not supposed to mess with GFP_DMA* directly anymore for quite
some time.

> We would like for the device
> drivers to have the ability to specify exactly which address range is
> allowed.

I actually have my doubts it is a good idea to add that now. The devices
with weird requirements are steadily going away.

-Andi

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