- Add an option to compile in SCHED_STATS.

- Add some more information about SLEEPQUEUE_PROFILING to NOTES.
This commit is contained in:
Jeff Roberson 2008-03-20 01:30:49 +00:00
parent 29481f8846
commit 75a66a92c9
2 changed files with 7 additions and 1 deletions

View File

@ -185,7 +185,11 @@ options ROOTDEVNAME=\"ufs:da0s2e\"
# which leads to better responsiveness even on uniprocessor machines. This
# will eventually become the default scheduler.
#
# SCHED_STATS is a debugging option which keeps some stats in the sysctl
# tree at 'kern.sched.stats' and is useful for debugging scheduling decisions.
#
options SCHED_4BSD
options SCHED_STATS
#options SCHED_ULE
#####################################################################
@ -249,7 +253,8 @@ options SX_NOINLINE
# Relies on the PREEMPTION option. DON'T TURN THIS ON.
# MUTEX_DEBUG enables various extra assertions in the mutex code.
# SLEEPQUEUE_PROFILING enables rudimentary profiling of the hash table
# used to hold active sleep queues.
# used to hold active sleep queues as well as sleep wait message
# frequency.
# TURNSTILE_PROFILING enables rudimentary profiling of the hash table
# used to hold active lock queues.
# WITNESS enables the witness code which detects deadlocks and cycles

View File

@ -140,6 +140,7 @@ PPS_SYNC opt_ntp.h
PREEMPTION opt_sched.h
QUOTA
SCHED_4BSD opt_sched.h
SCHED_STATS opt_sched.h
SCHED_ULE opt_sched.h
SHOW_BUSYBUFS
SLEEPQUEUE_PROFILING