* Re: [patch] media: videobuf-dma-sg: Clear dma coherent buf only once
[not found] <20190321103623.99BD968CEC@newverein.lst.de>
@ 2019-03-27 8:25 ` Christoph Hellwig <hch@lst.de>
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig <hch@lst.de> @ 2019-03-27 8:25 UTC (permalink / raw)
To: Hillf Danton
Cc: linux-media, linux-kernel, Christoph Hellwig <hch@lst.de>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Will Deacon <will.deacon@arm.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>
On Thu, Mar 21, 2019 at 06:36:21PM +0800, Hillf Danton wrote:
> On both the arch and dma core sides, see commit 6829e274a623 and 518a2f1925c3
> respectively, efforts are paid for clearing memory returned from dma_alloc_*
> functions, so on the driver side we can get our duty offloaded by explicitly
> asking the dma core for a zero-ed buffer.
And why do you think you then need to pass __GFP_ZERO?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-03-27 8:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20190321103623.99BD968CEC@newverein.lst.de>
2019-03-27 8:25 ` [patch] media: videobuf-dma-sg: Clear dma coherent buf only once Christoph Hellwig <hch@lst.de>
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).