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

Andi Kleen
2006-09-22T06:17:59Z

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