Thread (77 messages) flat view 77 messages, 8 authors, 2020-09-03

Re: a saner API for allocating DMA addressable pages

From: Christoph Hellwig <hch@lst.de>
Date: 2020-08-25 13:26:28
Also in: alsa-devel, linux-arm-kernel, linux-doc, linux-iommu, linux-media, linux-mips, linux-mm, linux-nvme, linux-samsung-soc, linux-scsi, lkml, nouveau

On Tue, Aug 25, 2020 at 01:30:41PM +0200, Marek Szyprowski wrote:
I really wonder what is the difference between this new API and 
alloc_pages(GFP_DMA, n). Is this API really needed? I thought that this 
is legacy thing to be removed one day...
The difference is that the pages returned are guranteed to be addressable
by the devie.  This is a very important difference that matters for
a lot of use cases.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help