Add RWLOCK_NOINLINE.

This commit is contained in:
John Baldwin 2006-01-31 22:56:44 +00:00
parent a4070931a6
commit 1a5d9b15d6

View File

@ -191,7 +191,7 @@ options ADAPTIVE_GIANT
# MUTEX_NOINLINE forces mutex operations to call functions to perform each # MUTEX_NOINLINE forces mutex operations to call functions to perform each
# operation rather than inlining the simple cases. This can be used to # operation rather than inlining the simple cases. This can be used to
# shrink the size of the kernel text segment. Note that this behavior is # shrink the size of the kernel text segment. Note that this behavior is
# already implied by the INVARIANT_SUPPORT, INVARIANTS, MUTEX_PROFILING, # already implied by the INVARIANT_SUPPORT, INVARIANTS, KTR, MUTEX_PROFILING,
# and WITNESS options. # and WITNESS options.
options MUTEX_NOINLINE options MUTEX_NOINLINE
@ -200,6 +200,13 @@ options MUTEX_NOINLINE
# priority waiter. # priority waiter.
options MUTEX_WAKE_ALL options MUTEX_WAKE_ALL
# RWLOCK_NOINLINE forces rwlock operations to call functions to perform each
# operation rather than inlining the simple cases. This can be used to
# shrink the size of the kernel text segment. Note that this behavior is
# already implied by the INVARIANT_SUPPORT, INVARIANTS, KTR, MUTEX_PROFILING,
# and WITNESS options.
options RWLOCK_NOINLINE
# SMP Debugging Options: # SMP Debugging Options:
# #
# PREEMPTION allows the threads that are in the kernel to be preempted # PREEMPTION allows the threads that are in the kernel to be preempted