Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/conf Disable options NVNODE, NBUF and BUFPAGE...



details:   https://anonhg.NetBSD.org/src/rev/d5a5020f685e
branches:  trunk
changeset: 795784:d5a5020f685e
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Apr 29 18:47:22 2014 +0000

description:
Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.

These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.

Should be pulled up to netbsd-6* branches.

diffstat:

 sys/arch/hp300/conf/RAMDISK |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r f0bfba3cb805 -r d5a5020f685e sys/arch/hp300/conf/RAMDISK
--- a/sys/arch/hp300/conf/RAMDISK       Tue Apr 29 18:38:27 2014 +0000
+++ b/sys/arch/hp300/conf/RAMDISK       Tue Apr 29 18:47:22 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAMDISK,v 1.13 2010/11/23 11:13:58 hannken Exp $
+# $NetBSD: RAMDISK,v 1.14 2014/04/29 18:47:22 tsutsui Exp $
 #
 # RAMDISK machine description file
 #
@@ -7,6 +7,11 @@
 
 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