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

From
'Christoph Hellwig' <hch@lst.de>
Date
2019-06-14 15:09:04
Also in
dri-devel, intel-gfx, linux-arm-kernel, linux-iommu, linux-media, linux-mm, linux-rdma, linux-s390, linux-wireless, lkml
Reply to
Robin Murphy, 2019-06-14
On Fri, Jun 14, 2019 at 04:05:33PM +0100, Robin Murphy wrote:
That said, I don't believe this particular patch should make any 
appreciable difference - alloc_pages_exact() is still going to give back 
the same base address as the rounded up over-allocation would, and 
PAGE_ALIGN()ing the size passed to get_order() already seemed to be 
pointless.
True, we actually do get the right alignment just about anywhere.
Not 100% sure about the various static pool implementations, but we
can make sure if any didn't we'll do that right thing once those
get consolidated.
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