Thread (37 messages) 37 messages, 9 authors, 2019-07-08

Re: [PATCH 16/16] dma-mapping: use exact allocation in dma_alloc_contiguous

From: 'Christoph Hellwig' <hch@lst.de>
Date: 2019-06-14 14:50:34
Also in: dri-devel, intel-gfx, linux-iommu, linux-media, linux-mm, linux-rdma, linux-s390, linux-wireless, lkml, netdev

On Fri, Jun 14, 2019 at 02:15:44PM +0000, David Laight wrote:
Does this still guarantee that requests for 16k will not cross a 16k boundary?
It looks like you are losing the alignment parameter.
The DMA API never gave you alignment guarantees to start with,
and you can get not naturally aligned memory from many of our
current implementations.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help