aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/conf/NOTES7
-rw-r--r--sys/conf/options1
2 files changed, 7 insertions, 1 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 91cf86fa9c40..b6be119f5587 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -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
diff --git a/sys/conf/options b/sys/conf/options
index 97fb06c1cd13..77710be2aa12 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -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