From a7d1d15c39b1324af124aa5f3e339702779bac6f Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 9 Dec 1997 13:32:32 +0000 Subject: [PATCH] KMEMSTATS is documented in options(4) as being a possible severe performance hit, and on an 80386 processor, it most certainly is. Pull it from the GENERIC (and DISKLESS "generic") kernels--configure it in yourself if you actually need it. --- sys/arch/i386/conf/DISKLESS | 4 ++-- sys/arch/i386/conf/GENERIC | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/i386/conf/DISKLESS b/sys/arch/i386/conf/DISKLESS index c425645ccbc1..fe70c7329ab5 100644 --- a/sys/arch/i386/conf/DISKLESS +++ b/sys/arch/i386/conf/DISKLESS @@ -1,4 +1,4 @@ -# $NetBSD: DISKLESS,v 1.54 1997/11/27 09:58:26 fvdl Exp $ +# $NetBSD: DISKLESS,v 1.55 1997/12/09 13:32:32 tv Exp $ # # DISKLESS -- Generic machine setup for diskless boot. # This kernel can be loaded from a bootable floppy (i.e. kernel-copy) @@ -38,7 +38,7 @@ options DDB # in-kernel debugger #makeoptions DEBUG="-g" # compile full symbol table options DIAGNOSTIC # internal consistency checks options KTRACE # system call tracing via ktrace(1) -options KMEMSTATS # kernel memory statistics (vmstat -m) +#options KMEMSTATS # kernel memory statistics (vmstat -m) options SYSVMSG # System V-like message queues options SYSVSEM # System V-like semaphores diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC index a4fe9a01c9e6..93901669d88a 100644 --- a/sys/arch/i386/conf/GENERIC +++ b/sys/arch/i386/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.126 1997/11/27 09:58:33 fvdl Exp $ +# $NetBSD: GENERIC,v 1.127 1997/12/09 13:32:35 tv Exp $ # # GENERIC -- everything that's currently supported # @@ -55,7 +55,7 @@ options LKM # loadable kernel modules # Diagnostic/debugging support options options DIAGNOSTIC # cheap kernel consistency checks #options DEBUG # expensive debugging checks/support -options KMEMSTATS # kernel memory statistics (vmstat -m) +#options KMEMSTATS # kernel memory statistics (vmstat -m) options DDB # in-kernel debugger #options DDB_HISTORY_SIZE=100 # enable history editing in DDB #options KGDB # remote debugger