Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/arch/hp300/conf Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/66bd4af5093a
branches:  netbsd-9
changeset: 964222:66bd4af5093a
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 14 17:29:35 2020 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #1152):

        sys/arch/hp300/conf/RAMDISK: revision 1.16
        sys/arch/hp300/conf/INSTALL: revision 1.66

Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.

Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.

diffstat:

 sys/arch/hp300/conf/INSTALL |  11 ++++++-----
 sys/arch/hp300/conf/RAMDISK |   7 +------
 2 files changed, 7 insertions(+), 11 deletions(-)

diffs (46 lines):

diff -r 259aae2def65 -r 66bd4af5093a sys/arch/hp300/conf/INSTALL
--- a/sys/arch/hp300/conf/INSTALL       Mon Dec 14 17:26:36 2020 +0000
+++ b/sys/arch/hp300/conf/INSTALL       Mon Dec 14 17:29:35 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.64 2019/03/14 16:59:09 thorpej Exp $
+# $NetBSD: INSTALL,v 1.64.4.1 2020/12/14 17:29:35 martin Exp $
 #
 # INSTALL machine description file
 #
@@ -10,10 +10,11 @@
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
 # optimise for smaller kernels
-makeoptions    COPTS="-Os"
-options        NVNODE=50
-options        NBUF=16
-options        BUFPAGES=16
+makeoptions    COPTS="-Os -fno-unwind-tables"
+#options       NVNODE=50
+#options       NBUF=16
+#options       BUFPAGES=16
+options        BUFCACHE=5
 options        NFS_V2_ONLY
 options        NFS_DEFAULT_NIOTHREADS=1
 options        USERCONF                # userconf(4) support
diff -r 259aae2def65 -r 66bd4af5093a sys/arch/hp300/conf/RAMDISK
--- a/sys/arch/hp300/conf/RAMDISK       Mon Dec 14 17:26:36 2020 +0000
+++ b/sys/arch/hp300/conf/RAMDISK       Mon Dec 14 17:29:35 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK,v 1.15 2015/12/29 14:51:38 christos Exp $
+# $NetBSD: RAMDISK,v 1.15.22.1 2020/12/14 17:29:35 martin Exp $
 #
 # RAMDISK machine description file
 #
@@ -7,11 +7,6 @@
 
 include        "arch/hp300/conf/INSTALL"
 
-# These options for small RAM machines makes extracting binaries much slower.
-no options     NVNODE
-no options     NBUF
-no options     BUFPAGES
-
 # Enable the hooks used for initializing the root memory-disk.
 options        MEMORY_DISK_HOOKS
 options        MEMORY_DISK_IS_ROOT             # force root on memory disk



Home | Main Index | Thread Index | Old Index