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

From
'Christoph Hellwig' <hch@lst.de>
Date
2019-06-14 15:06:31
Also in
dri-devel, intel-gfx, linux-arm-kernel, linux-iommu, linux-media, linux-mm, linux-rdma, linux-s390, linux-wireless, lkml
Reply to
David Laight, 2019-06-14
On Fri, Jun 14, 2019 at 03:01:22PM +0000, David Laight wrote:
I'm pretty sure there is a lot of code out there that makes that assumption.
Without it many drivers will have to allocate almost double the
amount of memory they actually need in order to get the required alignment.
So instead of saving memory you'll actually make more be used.
That code would already be broken on a lot of Linux platforms.
Thread (37 messages) 37 messages, 9 authors, last reply 2019-07-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help