Move the DIAGNOSTIC option to a seperate config file, it's too expensive
to be in GENERIC (which should be a kernel ready for production use).
This commit is contained in:
parent
8faae68155
commit
781af989f9
@ -1,11 +1,11 @@
|
||||
# $NetBSD: GENERIC,v 1.402 2001/03/30 14:47:49 minoura Exp $
|
||||
# $NetBSD: GENERIC,v 1.403 2001/04/21 20:49:14 fvdl Exp $
|
||||
#
|
||||
# GENERIC -- everything that's currently supported
|
||||
#
|
||||
|
||||
include "arch/i386/conf/std.i386"
|
||||
|
||||
#ident "GENERIC-$Revision: 1.402 $"
|
||||
#ident "GENERIC-$Revision: 1.403 $"
|
||||
|
||||
maxusers 32 # estimated number of users
|
||||
|
||||
@ -58,7 +58,7 @@ options SYSVSHM # System V-like memory sharing
|
||||
options LKM # loadable kernel modules
|
||||
|
||||
# Diagnostic/debugging support options
|
||||
options DIAGNOSTIC # cheap kernel consistency checks
|
||||
#options DIAGNOSTIC # expensive kernel consistency checks
|
||||
#options DEBUG # expensive debugging checks/support
|
||||
#options KMEMSTATS # kernel memory statistics (vmstat -m)
|
||||
options DDB # in-kernel debugger
|
||||
|
10
sys/arch/i386/conf/GENERIC_DIAGNOSTIC
Normal file
10
sys/arch/i386/conf/GENERIC_DIAGNOSTIC
Normal file
@ -0,0 +1,10 @@
|
||||
# $NetBSD: GENERIC_DIAGNOSTIC,v 1.1 2001/04/21 20:49:14 fvdl Exp $
|
||||
#
|
||||
# GENERIC with DIAGNOSTIC enabled.
|
||||
# DIAGNOSTIC was moved out of the default GENERIC file because
|
||||
# it is pretty expensive (up to some 15% speed loss).
|
||||
#
|
||||
|
||||
options DIAGNOSTIC
|
||||
|
||||
include "arch/i386/conf/GENERIC"
|
Loading…
Reference in New Issue
Block a user