mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Anthony Truong <Anthony.Truong@mascorp.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Physically contiguous (DMA) memory allocation
Date: 09 Aug 2003 11:59:01 +0100	[thread overview]
Message-ID: <1060426740.4937.85.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <1060328695.9074.95.camel@huykhoi>

On Gwe, 2003-08-08 at 08:44, Anthony Truong wrote:
> Is there a quick solution to this problem, like increasing the size of
> the physically contiguous page pool (like in Windows NT and some other
> OS'es :-( )? (Is it a good idea to make this one of the future
> enhancements to Linux?)  Or should I write a driver loaded at boot time
> grabbing the required memory pages and allocating them to my loadable
> driver when requested?
> Your suggestion is very much appreciated.

Without source code its hard to tell what you are doing but all
allocations made with the pci_* API in Linux are contiguous. If your
hardware requires a single contiguous 30Mb chunk then you have a problem
and will need to allocate at boot time.


      reply	other threads:[~2003-08-09 11:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-08  7:44 Anthony Truong
2003-08-09 10:59 ` Alan Cox [this message]

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=1060426740.4937.85.camel@dhcp22.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=Anthony.Truong@mascorp.com \
    --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

all inboxes | Powered by JetHome®