Date: Fri, 29 May 2009 01:49:27 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src UPDATING src/share/man/man9 sx.9 src/sys/cddl/compat/opensolaris/sys mutex.h rwlock.h src/sys/conf NOTES options src/sys/kern kern_sx.c src/sys/sys param.h sx.h Message-ID: <200905290157.n4T1vZ9g045503@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-05-29 01:49:27 UTC FreeBSD src repository Modified files: . UPDATING share/man/man9 sx.9 sys/cddl/compat/opensolaris/sys mutex.h rwlock.h sys/conf NOTES options sys/kern kern_sx.c sys/sys param.h sx.h Log: SVN rev 193011 on 2009-05-29 01:49:27Z by attilio Reverse the logic for ADAPTIVE_SX option and enable it by default. Introduce for this operation the reverse NO_ADAPTIVE_SX option. The flag SX_ADAPTIVESPIN to be passed to sx_init_flags(9) gets suppressed and the new flag, offering the reversed logic, SX_NOADAPTIVE is added. Additively implements adaptive spininning for sx held in shared mode. The spinning limit can be handled through sysctls in order to be tuned while the code doesn't reach the release, after which time they should be dropped probabilly. This change has made been necessary by recent benchmarks where it does improve concurrency of workloads in presence of high contention (ie. ZFS). KPI breakage is documented by __FreeBSD_version bumping, manpage and UPDATING updates. Requested by: jeff, kmacy Reviewed by: jeff Tested by: pho Revision Changes Path 1.606 +8 -0 src/UPDATING 1.44 +5 -5 src/share/man/man9/sx.9 1.7 +2 -2 src/sys/cddl/compat/opensolaris/sys/mutex.h 1.7 +2 -2 src/sys/cddl/compat/opensolaris/sys/rwlock.h 1.1542 +5 -5 src/sys/conf/NOTES 1.671 +1 -1 src/sys/conf/options 1.65 +50 -21 src/sys/kern/kern_sx.c 1.412 +1 -1 src/sys/sys/param.h 1.41 +1 -1 src/sys/sys/sx.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905290157.n4T1vZ9g045503>