mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: " Christoph Hellwig <hch@lst.de>" <hch@lst.de>
To: Hillf Danton <hdanton@sina.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	" Christoph Hellwig <hch@lst.de>" <hch@lst.de>,
	" Marek Szyprowski <m.szyprowski@samsung.com>" 
	<m.szyprowski@samsung.com>,
	" Will Deacon <will.deacon@arm.com>" <will.deacon@arm.com>,
	" Mauro Carvalho Chehab <mchehab@kernel.org>"
	<mchehab@kernel.org>
Subject: Re: [patch] media: videobuf-dma-sg: Clear dma coherent buf only once
Date: Wed, 27 Mar 2019 09:25:01 +0100	[thread overview]
Message-ID: <20190327082501.GM20525@lst.de> (raw)
In-Reply-To: <20190321103623.99BD968CEC@newverein.lst.de>

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?

           reply	other threads:[~2019-03-27  8:25 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20190321103623.99BD968CEC@newverein.lst.de>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190327082501.GM20525@lst.de \
    --to=hch@lst.de \
    --cc=hdanton@sina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mchehab@kernel.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®