[PATCH] proposed addition of Documentation/bigmem.txt

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Sat, 16 May 1998 23:34:17 -0400

Content-Type: text/plain; charset=us-ascii

Every so often, the question of how to run Linux on a machine with alot
of memory (>900mb or so) comes up. Wouldn't it be nice if you could point
them to a file in Documentation/? If this patch makes it into the kernel,
you will be able to. Feedback? (Note, my myrdraal@deathsdoor.com email
seems to be non-functional. So don't mail me there.)

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bigmem.txt-2.1.102.diff"

--- linux/Documentation/bigmem.txt.bak Sat May 16 22:48:06 1998
+++ linux/Documentation/bigmem.txt Sat May 16 22:42:34 1998
@@ -0,0 +1,35 @@
+ -----------------------------------
+ [Sat May 16 22:08:34 EDT 1998]
+* What is the purpose of this document?
+The purpose of this document is to tell you how to set up Linux to work on
+x86 machines with more then 950MB of RAM. If you do *not* have more then
+950MB of RAM, you do not need to read any further.
+* Okay, so what do I need to change?
+What you need to do is edit include/asm-i386/page.h and arch/i386/vmlinux.lds
+and change where it has '0xC0000000' to some other value. Note that this
+is in hexadecimal.
+* What does '0xC0000000' mean?
+0xC0000000 indicates that the kernel has a virtual address space of 1GB,
+which means that the physical memory the kernel can use is limited to 950MB.
+* So, what am I supposed to change it to?
+Well, for example, if you have 2GB of physical memory, you could change
+it to 0x70000000. This would give your kernel slightly more then 2GB
+of virtual memory. This is enough to map all your physical memory, plus
+a bit more for various I/O memory mappings.
+* I have more questions, who can I ask?
+You may feel free to send email to myrdraal@deathsdoor.com, and I will
+respond as soon as possible. If that email address does not work, use
+ -Myrdraal


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu