Add the options DEADLKRES (introducing the deadlock resolver thread) in
the 'debugging' section of any HEAD kernel and enable for the mainstream ones, excluding the embedded architectures. It may, of course, enabled on a case-by-case basis. Sponsored by: Sandvine Incorporated Requested by: emaste Discussed with: kib
This commit is contained in:
parent
24e2959e41
commit
88cbfa852e
@ -72,6 +72,7 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel
|
||||
options KDB # Enable kernel debugger support.
|
||||
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
|
||||
|
@ -70,6 +70,7 @@ options NO_ADAPTIVE_RWLOCKS
|
||||
options KDB # Enable kernel debugger support.
|
||||
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
|
||||
|
@ -39,6 +39,7 @@ options DEVICE_POLLING
|
||||
options KDB
|
||||
#options GDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -79,6 +79,7 @@ device mii
|
||||
device rlswitch
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -39,6 +39,7 @@ options DEVICE_POLLING
|
||||
options KDB
|
||||
#options GDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -39,6 +39,7 @@ options DEVICE_POLLING
|
||||
options KDB
|
||||
#options GDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -93,6 +93,7 @@ device pty
|
||||
# Debugging for use in -current
|
||||
options KDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -39,6 +39,7 @@ options NO_SWAPPING
|
||||
# Debugging
|
||||
options ALT_BREAK_TO_DEBUGGER
|
||||
options DDB
|
||||
#options DEADLKRES #Enable the deadlock resolver
|
||||
options DIAGNOSTIC
|
||||
#options INVARIANTS #Enable calls of extra sanity checking
|
||||
#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
||||
|
@ -39,6 +39,7 @@ options NO_SWAPPING
|
||||
# Debugging
|
||||
options ALT_BREAK_TO_DEBUGGER
|
||||
options DDB
|
||||
#options DEADLKRES #Enable the deadlock resolver
|
||||
options DIAGNOSTIC
|
||||
#options INVARIANTS #Enable calls of extra sanity checking
|
||||
#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
||||
|
@ -39,6 +39,7 @@ options NO_SWAPPING
|
||||
# Debugging
|
||||
options ALT_BREAK_TO_DEBUGGER
|
||||
options DDB
|
||||
#options DEADLKRES #Enable the deadlock resolver
|
||||
options DIAGNOSTIC
|
||||
#options INVARIANTS #Enable calls of extra sanity checking
|
||||
#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
|
||||
|
@ -89,6 +89,7 @@ device dma # I80321 DMA Controller
|
||||
# Debugging for use in -current
|
||||
options KDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -80,6 +80,7 @@ device pty
|
||||
# Debugging for use in -current
|
||||
options KDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -74,6 +74,7 @@ device mii
|
||||
device lxtphy
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -94,6 +94,7 @@ device "iq31244_7seg" # IQ31244 7 seg
|
||||
# Debugging for use in -current
|
||||
options KDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -75,6 +75,7 @@ device mii
|
||||
device lxtphy
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -44,6 +44,7 @@ options DEVICE_POLLING
|
||||
options KDB
|
||||
#options GDB
|
||||
options DDB #Enable the kernel debugger
|
||||
#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
|
||||
|
@ -61,6 +61,7 @@ device rl
|
||||
device uart
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -68,6 +68,7 @@ device uart
|
||||
# output. Adds ~215k to driver.
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -72,6 +72,7 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel
|
||||
options KDB # Enable kernel debugger support.
|
||||
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
|
||||
|
@ -49,6 +49,7 @@ options AUDIT # Security event auditing
|
||||
options KDB # Enable kernel debugger support.
|
||||
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
|
||||
|
@ -31,6 +31,7 @@ options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
|
||||
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
|
||||
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
|
||||
options DDB # Support DDB
|
||||
options DEADLKRES # Enable the deadlock resolver
|
||||
options FFS # Berkeley Fast Filesystem
|
||||
options GDB # Support remote GDB
|
||||
options GEOM_LABEL # Provides labelization
|
||||
|
@ -55,6 +55,7 @@ options BOOTP_COMPAT
|
||||
options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\"
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -55,6 +55,7 @@ options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\"
|
||||
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -29,6 +29,7 @@ options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
|
||||
|
||||
# options NFS_LEGACYRPC
|
||||
# Debugging for use in -current
|
||||
# options DEADLKRES
|
||||
# options INVARIANTS
|
||||
# options INVARIANT_SUPPORT
|
||||
# options WITNESS
|
||||
|
@ -27,6 +27,7 @@ options BOOTP_WIRED_TO=kr0
|
||||
options BOOTP_COMPAT
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
||||
|
@ -58,6 +58,7 @@ options ROOTDEVNAME=\"ufs:ad0s1a\"
|
||||
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -59,6 +59,7 @@ options ROOTDEVNAME=\"ufs:ad0s1a\"
|
||||
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -67,6 +67,7 @@ options UFS_DIRHASH #Improve performance on big directories
|
||||
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -56,6 +56,7 @@ options UFS_DIRHASH #Improve performance on big directories
|
||||
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -43,6 +43,7 @@ options PSEUDOFS #Pseudo-filesystem framework
|
||||
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
|
||||
|
||||
# Debugging for use in -current
|
||||
#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
|
||||
|
@ -56,6 +56,7 @@ options PSEUDOFS #Pseudo-filesystem framework
|
||||
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
|
||||
|
||||
# Debugging for use in -current
|
||||
#options DEADLKRES
|
||||
options INVARIANTS
|
||||
options INVARIANT_SUPPORT
|
||||
|
||||
|
@ -50,6 +50,7 @@ options PSEUDOFS #Pseudo-filesystem framework
|
||||
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
|
||||
|
||||
# Debugging for use in -current
|
||||
#options DEADLKRES
|
||||
options INVARIANTS
|
||||
options INVARIANT_SUPPORT
|
||||
options WITNESS
|
||||
|
@ -96,6 +96,7 @@ options DDB
|
||||
options KDB
|
||||
options GDB
|
||||
options ALT_BREAK_TO_DEBUGGER
|
||||
#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
|
||||
|
@ -72,6 +72,7 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel
|
||||
options KDB # Enable kernel debugger support.
|
||||
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
|
||||
|
@ -68,6 +68,7 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel
|
||||
# Debugging for use in -current
|
||||
options KDB #Enable the kernel debugger
|
||||
options DDB #Support DDB
|
||||
#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
|
||||
|
@ -22,6 +22,7 @@ options BOOTP_WIRED_TO=tsec0
|
||||
options CD9660
|
||||
options COMPAT_43
|
||||
options DDB
|
||||
#options DEADLKRES
|
||||
options DEVICE_POLLING
|
||||
options HZ=1000
|
||||
#options DIAGNOSTIC
|
||||
|
@ -69,6 +69,7 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel
|
||||
options KDB # Enable kernel debugger support.
|
||||
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
|
||||
|
@ -75,6 +75,7 @@ options DDB # Support DDB.
|
||||
#options TRAP_TRACING # Enable trap tracing.
|
||||
#options TRAP_TRACE_ENTRIES=256 # Trap trace buffer entries.
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user