linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: akpm@linux-foundation.org, JBottomley@novell.com,
	linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -mm 2/2] remove dma_is_consistent API
Date: Fri, 23 Jul 2010 12:18:57 -0400	[thread overview]
Message-ID: <20100723161857.GA10447@phenom.dumpdata.com> (raw)
In-Reply-To: <1279798811-21304-2-git-send-email-fujita.tomonori@lab.ntt.co.jp>

On Thu, Jul 22, 2010 at 08:40:11PM +0900, FUJITA Tomonori wrote:
> Architectures implement dma_is_consistent() in different ways (some
> misinterpret the definition of API in DMA-API.txt). So it hasn't been
> so useful for drivers. We have only one user of the API in
> tree. Unlikely out-of-tree drivers use the API.
> 
> Even if we fix dma_is_consistent() in some architectures, it doesn't
> look useful at all. It was invented long ago for some old systems that
> can't allocate coherent memory at all. It's better to export only APIs
> that are definitely necessary for drivers.
> 
> Let's remove this API.
> 
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

  reply	other threads:[~2010-07-23 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 11:40 [PATCH -mm 1/2] 53c700: remove dma_is_consistent usage FUJITA Tomonori
2010-07-22 11:40 ` FUJITA Tomonori
2010-07-22 11:40 ` [PATCH -mm 2/2] remove dma_is_consistent API FUJITA Tomonori
2010-07-23 16:18   ` Konrad Rzeszutek Wilk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-27 10:10 [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700 FUJITA Tomonori
2010-06-27 10:10 ` [PATCH -mm 2/2] remove dma_is_consistent() API FUJITA Tomonori

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=20100723161857.GA10447@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBottomley@novell.com \
    --cc=akpm@linux-foundation.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).