From: ebiederm+eric@ccr.net (Eric W. Biederman)
To: Manfred Spraul <masp0008@stud.uni-sb.de>
Cc: linux-mm@kvack.org
Subject: Re: Ramdisk for > 1GB / >2 GB
Date: 02 Feb 1999 01:54:33 -0600 [thread overview]
Message-ID: <m1n22xqlza.fsf@flinx.ccr.net> (raw)
In-Reply-To: "Manfred Spraul"'s message of "Mon, 1 Feb 1999 22:25:54 +0100"
>>>>> "MS" == Manfred Spraul <masp0008@stud.uni-sb.de> writes:
MS> I've written a ramdisk driver that can use physical, unmapped memory. I've
MS> posted a beta version this morning to linux-kernel.
MS> Basically, it is a kernel patch that manages the memory (alloc_hugemem(),
MS> free_hugemem()), and a block device driver that can use this memory.
MS> I'm new in the Linux MM, perhaps you could help me on these questions:
MS> 1) SMP:
MS> I use a spinlock for every ramdisk, and one page for each drive as a window
MS> to the physical memory. Since only 1 processor uses this page, I can use
MS> __flush_tlb_one( == INVLPG only on the local processor) without any further
MS> synchronization.
Sounds good. But it's not my area of expertise.
MS> Is that stable on SMP, and do you think that this parallel enough?
MS> Linus suggested using one 4MB pte for each processor, but I think that this
MS> would be to much overhead.
MS> Another idea would be using a hash table (eg. 32 spinlocks, 32 pages) that
MS> is shared by all processors.
Except for quantity of address space consumed a 4MB pte should be equal to a
4k pte.
MS> 3) Is more than 2 GB memory a problem that only applies to the i386
MS> architecture, or is there demand for that on PowerPC, Sparc32?
It's a problem for 32bit architectures. Most of the RISC processors (I believe)
have 64bit extensions so it's less of an issue there.
Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
next prev parent reply other threads:[~1999-02-02 9:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-01 21:25 Ramdisk for > 1GB / >2 GB Manfred Spraul
1999-02-02 7:54 ` Eric W. Biederman [this message]
1999-02-04 7:20 ` ralf
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=m1n22xqlza.fsf@flinx.ccr.net \
--to=ebiederm+eric@ccr.net \
--cc=linux-mm@kvack.org \
--cc=masp0008@stud.uni-sb.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.