Thread (74 messages) 74 messages, 7 authors, 2022-02-25

Re: [PATCH 18/22] net: ethernet: mtk-star-emac: Don't use GFP_DMA when calling dmam_alloc_coherent()

From: Christoph Hellwig <hch@lst.de>
Date: 2022-02-19 07:13:58
Also in: linux-crypto, linux-i2c, linux-mm, linux-s390, lkml

On Sat, Feb 19, 2022 at 08:52:17AM +0800, Baoquan He wrote:
dmam_alloc_coherent() uses struct dma_devres to manage data, and call
dma_alloc_attrs() to allocate cohenrent DMA memory, so it's redundent
to specify GFP_DMA when calling.
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help