Deleted Added
full compact
NOTES (131476) NOTES (131481)
1# $FreeBSD: head/sys/conf/NOTES 131476 2004-07-02 19:40:36Z pjd $
1# $FreeBSD: head/sys/conf/NOTES 131481 2004-07-02 20:21:44Z jhb $
2#
3# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4#
5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
6# 'makeoptions', 'hints', etc. go into the kernel configuration that you
7# run config(8) with.
8#
9# Lines that begin with 'hint.' are NOT for config(8), they go into your

--- 171 unchanged lines hidden (view full) ---

181
182# MUTEX_WAKE_ALL changes the mutex unlock algorithm to wake all waiters
183# when a contested mutex is released rather than just awaking the highest
184# priority waiter.
185options MUTEX_WAKE_ALL
186
187# SMP Debugging Options:
188#
2#
3# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4#
5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
6# 'makeoptions', 'hints', etc. go into the kernel configuration that you
7# run config(8) with.
8#
9# Lines that begin with 'hint.' are NOT for config(8), they go into your

--- 171 unchanged lines hidden (view full) ---

181
182# MUTEX_WAKE_ALL changes the mutex unlock algorithm to wake all waiters
183# when a contested mutex is released rather than just awaking the highest
184# priority waiter.
185options MUTEX_WAKE_ALL
186
187# SMP Debugging Options:
188#
189# FULL_PREEMPTION instructs the kernel to preempt non-realtime kernel
190# threads. It sole use is to expose race conditions and other
191# bugs during development. Enabling this option will reduce
192# performance and increase the frequency of kernel panics by
193# design. If you aren't sure that you need it then you don't.
189# MUTEX_DEBUG enables various extra assertions in the mutex code.
190# SLEEPQUEUE_PROFILING enables rudimentary profiling of the hash table
191# used to hold active sleep queues.
192# TURNSTILE_PROFILING enables rudimentary profiling of the hash table
193# used to hold active lock queues.
194# WITNESS enables the witness code which detects deadlocks and cycles
195# during locking operations.
196# WITNESS_DDB causes the witness code to drop into the kernel debugger if
197# a lock hierarchy violation occurs or if locks are held when going to
198# sleep.
199# WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
194# MUTEX_DEBUG enables various extra assertions in the mutex code.
195# SLEEPQUEUE_PROFILING enables rudimentary profiling of the hash table
196# used to hold active sleep queues.
197# TURNSTILE_PROFILING enables rudimentary profiling of the hash table
198# used to hold active lock queues.
199# WITNESS enables the witness code which detects deadlocks and cycles
200# during locking operations.
201# WITNESS_DDB causes the witness code to drop into the kernel debugger if
202# a lock hierarchy violation occurs or if locks are held when going to
203# sleep.
204# WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
205options FULL_PREEMPTION
200options MUTEX_DEBUG
201options WITNESS
202options WITNESS_DDB
203options WITNESS_SKIPSPIN
204
205# MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes). See
206# MUTEX_PROFILING(9) for details.
207options MUTEX_PROFILING

--- 2227 unchanged lines hidden ---
206options MUTEX_DEBUG
207options WITNESS
208options WITNESS_DDB
209options WITNESS_SKIPSPIN
210
211# MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes). See
212# MUTEX_PROFILING(9) for details.
213options MUTEX_PROFILING

--- 2227 unchanged lines hidden ---