Re: > 1GB RAM on x86 ?

Leonard N. Zubkoff (lnz@dandelion.com)
Wed, 2 Jul 1997 23:51:53 -0700


Date: Wed, 2 Jul 1997 16:58:40 -0700
From: "Larry M. Augustin" <lma@varesearch.com>

We're testing some x86 systems with more than 1GB of RAM. Linux on
x86 seems to be limited to 1GB of physical memory. This suprised me a
bit since I thought 386 PTE's had 20 bits for physical page addresses
(4GB physical). Is there a 1GB physical limit, what's the reason for
the limit, and what would need to change to increase this to 4GB?
(i.e. Where did those other 2 bits go?)

I also seem to be seeing a limit on swap space of 1GB. What about
increasing that too?

This one is easy. I've been running with 2GB swap possible for quite a while.

Leonard

--- linux/include/linux/swap.h- Mon Jun 3 05:38:37 1996
+++ linux/include/linux/swap.h Sun Nov 3 11:04:37 1996
@@ -5,7 +5,7 @@
#define SWAP_FLAG_PRIO_MASK 0x7fff
#define SWAP_FLAG_PRIO_SHIFT 0

-#define MAX_SWAPFILES 8
+#define MAX_SWAPFILES 16

#ifdef __KERNEL__