Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Define NOREDZONE and use it in the *_TINY...



details:   https://anonhg.NetBSD.org/src/rev/9f31c8990951
branches:  trunk
changeset: 537836:9f31c8990951
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun Oct 06 12:36:16 2002 +0000

description:
Define NOREDZONE and use it in the *_TINY config files to save a page
per process.

diffstat:

 sys/arch/i386/conf/GENERIC_TINY |  5 ++++-
 sys/arch/i386/conf/INSTALL_TINY |  5 ++++-
 sys/arch/i386/conf/files.i386   |  5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 248310161e34 -r 9f31c8990951 sys/arch/i386/conf/GENERIC_TINY
--- a/sys/arch/i386/conf/GENERIC_TINY   Sun Oct 06 12:35:16 2002 +0000
+++ b/sys/arch/i386/conf/GENERIC_TINY   Sun Oct 06 12:36:16 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC_TINY,v 1.49 2002/10/01 12:56:41 fvdl Exp $
+#      $NetBSD: GENERIC_TINY,v 1.50 2002/10/06 12:36:17 fvdl Exp $
 #
 #      GENERIC_TINY -- suitable default for 4M machines
 #                      No EISA, PCI, or SCSI.
@@ -40,6 +40,9 @@
 #options       REALBASEMEM=... # size of base memory
 #options       REALEXTMEM=...  # size of extended memory
 
+# Save a physical page per process by not setting a kernel stack red zone.
+options        NOREDZONE
+
 # Standard system options
 
 #options       UCONSOLE        # users can use TIOCCONS (for xconsole)
diff -r 248310161e34 -r 9f31c8990951 sys/arch/i386/conf/INSTALL_TINY
--- a/sys/arch/i386/conf/INSTALL_TINY   Sun Oct 06 12:35:16 2002 +0000
+++ b/sys/arch/i386/conf/INSTALL_TINY   Sun Oct 06 12:36:16 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL_TINY,v 1.59 2002/10/01 12:56:43 fvdl Exp $
+#      $NetBSD: INSTALL_TINY,v 1.60 2002/10/06 12:36:17 fvdl Exp $
 #
 #      INSTALL_TINY - Tiny Installation kernel, suitable for 4M machines.
 #
@@ -44,6 +44,9 @@
 # I/O address.
 #options       CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
 
+# Save a physical page per process by not setting a kernel stack red zone.
+options        NOREDZONE
+
 # The following options override the memory sizes passed in from the boot
 # block.  Use them *only* if the boot block is unable to determine the correct
 # values.  Note that the BIOS may *correctly* report less than 640k of base
diff -r 248310161e34 -r 9f31c8990951 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Sun Oct 06 12:35:16 2002 +0000
+++ b/sys/arch/i386/conf/files.i386     Sun Oct 06 12:36:16 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.216 2002/10/04 18:28:29 elric Exp $
+#      $NetBSD: files.i386,v 1.217 2002/10/06 12:36:16 fvdl Exp $
 #
 # new style config file for i386 architecture
 #
@@ -58,6 +58,9 @@
 # Large page size
 defflag                        LARGEPAGES
 
+# No unmapped page below kernel stack
+defflag                        NOREDZONE
+
 # kernel stack debug
 defflag        opt_kstack_dr0.h                KSTACK_CHECK_DR0
 



Home | Main Index | Thread Index | Old Index