NOTES (167774) | NOTES (167801) |
---|---|
1# $FreeBSD: head/sys/conf/NOTES 167774 2007-03-21 18:25:28Z andre $ | 1# $FreeBSD: head/sys/conf/NOTES 167801 2007-03-22 16:09:23Z 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 --- 187 unchanged lines hidden (view full) --- 197options SMP # Symmetric MultiProcessor Kernel 198 199# ADAPTIVE_MUTEXES changes the behavior of blocking mutexes to spin 200# if the thread that currently owns the mutex is executing on another 201# CPU. This behaviour is enabled by default, so this option can be used 202# to disable it. 203options NO_ADAPTIVE_MUTEXES 204 | 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 --- 187 unchanged lines hidden (view full) --- 197options SMP # Symmetric MultiProcessor Kernel 198 199# ADAPTIVE_MUTEXES changes the behavior of blocking mutexes to spin 200# if the thread that currently owns the mutex is executing on another 201# CPU. This behaviour is enabled by default, so this option can be used 202# to disable it. 203options NO_ADAPTIVE_MUTEXES 204 |
205# ADAPTIVE_RWLOCKS changes the behavior of reader/writer locks to spin 206# if the thread that currently owns the rwlock is executing on another 207# CPU. This behaviour is enabled by default, so this option can be used 208# to disable it. 209options NO_ADAPTIVE_RWLOCKS 210 |
|
205# ADAPTIVE_GIANT causes the Giant lock to also be made adaptive when 206# running without NO_ADAPTIVE_MUTEXES. Normally, because Giant is assumed 207# to be held for extended periods, contention on Giant will cause a thread 208# to sleep rather than spinning. 209options ADAPTIVE_GIANT 210 211# MUTEX_NOINLINE forces mutex operations to call functions to perform each 212# operation rather than inlining the simple cases. This can be used to --- 2453 unchanged lines hidden --- | 211# ADAPTIVE_GIANT causes the Giant lock to also be made adaptive when 212# running without NO_ADAPTIVE_MUTEXES. Normally, because Giant is assumed 213# to be held for extended periods, contention on Giant will cause a thread 214# to sleep rather than spinning. 215options ADAPTIVE_GIANT 216 217# MUTEX_NOINLINE forces mutex operations to call functions to perform each 218# operation rather than inlining the simple cases. This can be used to --- 2453 unchanged lines hidden --- |