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.
This commit is contained in:
tv 1997-12-09 13:32:32 +00:00
parent 25b87a361a
commit a7d1d15c39
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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