mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anthony Truong <Anthony.Truong@mascorp.com>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Physically contiguous (DMA) memory allocation
Date: Fri, 8 Aug 2003 00:44:55 -0700	[thread overview]
Message-ID: <1060328695.9074.95.camel@huykhoi> (raw)

Hello,
I'm working on a driver for one of our devices with some heavy DMA
memory requirements - 20 - 30 MB in all.  As a loadable module (perfect
for development stage), the driver frequently causes annoying OOM
problems.
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.

Regards,
Anthony Dominic Truong.





Disclaimer: The information contained in this transmission, including any
attachments, may contain confidential information of Matsushita Avionics
Systems Corporation.  This transmission is intended only for the use of the
addressee(s) listed above.  Unauthorized review, dissemination or other use
of the information contained in this transmission is strictly prohibited.
If you have received this transmission in error or have reason to believe
you are not authorized to receive it, please notify the sender by return
email and promptly delete the transmission.



             reply	other threads:[~2003-08-08 22:34 UTC|newest]

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

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=1060328695.9074.95.camel@huykhoi \
    --to=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®