From 870f517ed92c9239507657fd9f776b98a53caa7a Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Thu, 9 Feb 2012 14:15:56 +0000 Subject: [PATCH] Remove full debugger options and enable KDB_TRACE option instead to decrease kernel size and increase performance. --- sys/pc98/conf/GENERIC | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/sys/pc98/conf/GENERIC b/sys/pc98/conf/GENERIC index bdf04c2448c..cd49214171e 100644 --- a/sys/pc98/conf/GENERIC +++ b/sys/pc98/conf/GENERIC @@ -67,20 +67,8 @@ options CAPABILITY_MODE # Capsicum capability mode options CAPABILITIES # Capsicum capabilities options MAC # TrustedBSD MAC Framework options INCLUDE_CONFIG_FILE # Include this file in kernel - -# Debugging support. Always need this: -options KDB # Enable kernel debugger support. -# For minimum debugger support (stable branch) use: -#options KDB_TRACE # Print a stack trace for a panic. -# For full debugger support use this instead: -options DDB # Support DDB. -options GDB # Support remote GDB. -options DEADLKRES # Enable the deadlock resolver -options INVARIANTS # Enable calls of extra sanity checking -options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS -options WITNESS # Enable checks to detect deadlocks and cycles -options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed -options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones +options KDB # Kernel debugger related code +options KDB_TRACE # Print a stack trace for a panic # To make an SMP kernel, the next two lines are needed #options SMP # Symmetric MultiProcessor Kernel -- 2.45.0