Skip to content

Commit

Permalink
switch to prod configs for kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Oct 2, 2018
1 parent 8ad4b8a commit 4ebf5c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
11 changes: 1 addition & 10 deletions sys/amd64/conf/GENERIC
Expand Up @@ -70,16 +70,7 @@ options RCTL # Resource limits

# Debugging support. Always need this:
options KDB # Enable kernel debugger support.
#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_TRACE # Print a stack trace for a panic.

# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
Expand Down
11 changes: 1 addition & 10 deletions sys/i386/conf/GENERIC
Expand Up @@ -68,16 +68,7 @@ options RCTL # Resource limits

# Debugging support. Always need this:
options KDB # Enable kernel debugger support.
#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_TRACE # Print a stack trace for a panic.

# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
Expand Down

0 comments on commit 4ebf5c5

Please sign in to comment.