linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Jin <shawnxjin@gmail.com>
To: ppcembed <linuxppc-embedded@ozlabs.org>
Subject: Re: DMA consistent allocation is limited to 2MB on 2.6.11 for ppc440?
Date: Fri, 20 May 2005 11:12:54 -0700	[thread overview]
Message-ID: <c3d0340b050520111228a6f4cd@mail.gmail.com> (raw)
In-Reply-To: <20050519020953.GB11587@gate.ebshome.net>

> My recommendation - don't do this. Why do you need to allocate this
> big chunk of consistent memory in the first place? You can do DMA
> _without_ allocating "consistent" memory. In fact, this is how
> virtually all devices work in Linux. For more info about DMA API -
> look at Documentation/DMA-API.txt.

The driver stack we've been developing (already 4.0) uses consistent
memory a lot for DMA. The stack is for many kinds of high performance
storage IO e.g. iSCSI, FC. It works fine on 2.4.x because there is no
such 2MB consistent pool limitation.

> Technically, you can make consistent pool bigger, if you really insist
> on using this approach.

I want to understand the motivation and the rationale of choosing
'consistent_pte' on 2.6.x, what impact there would be to increase the
consistent pool, and so on. Some pointers to articles, posts are more
helpful.

Thanks a lot,
-Shawn.

  reply	other threads:[~2005-05-20 18:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  0:54 DMA consistent allocation is limited to 2MB on 2.6.11 for ppc440? Shawn Jin
2005-05-19  1:24 ` Eugene Surovegin
2005-05-19  1:52   ` Shawn Jin
2005-05-19  2:09     ` Eugene Surovegin
2005-05-20 18:12       ` Shawn Jin [this message]
2005-05-20 20:16         ` Matt Porter
2005-05-20 23:51           ` Shawn Jin

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=c3d0340b050520111228a6f4cd@mail.gmail.com \
    --to=shawnxjin@gmail.com \
    --cc=linuxppc-embedded@ozlabs.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).