From 2562874cb6c7148dd0a0e252035eeb28cc19eb23 Mon Sep 17 00:00:00 2001 From: attilio Date: Wed, 28 Nov 2007 05:50:45 +0000 Subject: Make ADAPTIVE_GIANT as the default in the kernel and remove the option. Currently, Giant is not too much contented so that it is ok to treact it like any other mutexes. Please don't forget to update your own custom config kernel files. Approved by: cognet, marcel (maintainers of arches where option is not enabled at the moment) --- sys/conf/NOTES | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys/conf/NOTES') diff --git a/sys/conf/NOTES b/sys/conf/NOTES index fed66b5..2f62598 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -206,12 +206,6 @@ options NO_ADAPTIVE_MUTEXES # to disable it. options NO_ADAPTIVE_RWLOCKS -# ADAPTIVE_GIANT causes the Giant lock to also be made adaptive when -# running without NO_ADAPTIVE_MUTEXES. Normally, because Giant is assumed -# to be held for extended periods, contention on Giant will cause a thread -# to sleep rather than spinning. -options ADAPTIVE_GIANT - # ADAPTIVE_SX changes the behavior of sx locks to spin if the thread # that currently owns the lock is executing on another CPU. Note that # in addition to enabling this option, individual sx locks must be -- cgit v1.1