linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cudmore <embeddedpenguin@yahoo.com>
To: Linux-MM@kvack.org
Subject: How to allocate large blocks of contiguous physical RAM?
Date: Tue, 20 Feb 2001 07:37:22 -0800 (PST)	[thread overview]
Message-ID: <20010220153722.51795.qmail@web12702.mail.yahoo.com> (raw)

Hi,
I'm trying to figure out how to allocate a large block
of contiguous physical memory under linux 2.4.x. I
have 4GB of RAM and have turned on the CONFIG_HIGMEM4G
option. 
Previously I was using the "bigphysarea" patch, but
that seems to have a limit of around 900MB. ( is that
because it is being allocated from the 1Gig kernel
physical memory ? )
Also, I have considered changing the PAGE_OFFSET
define to 0x80000000 to give me a little under 2GB.

Ideally I would like to do the following:
1. Pre-Allocate 2 or 3 gigs of contiguous memory
2. A custom PCI 64/66Mhz card will be DMAing data
directly into this memory at very high rates ( up to
500MBytes per second, thus the need for a few gigs ) 
3. Then I would like to be able to DMA data back out
to SCSI without picking the data up ( using SCSI
generic with Direct I/O ).

I really am a linux-MM newbie, so I would appreciate
advice on how I could accomplish such a feat, it it
can be done at all. Any suggestions would be welcome.

Thanks,
Alan C.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

                 reply	other threads:[~2001-02-20 15:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010220153722.51795.qmail@web12702.mail.yahoo.com \
    --to=embeddedpenguin@yahoo.com \
    --cc=Linux-MM@kvack.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