Date: Wed, 1 Sep 2010 19:50:03 +0000 (UTC) From: Max Laier <mlaier@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man9 Makefile locking.9 rmlock.9 src/sys/kern kern_rmlock.c src/sys/sys _rmlock.h rmlock.h Message-ID: <201009011950.o81JouTn029257@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mlaier 2010-09-01 19:50:03 UTC FreeBSD src repository Modified files: share/man/man9 Makefile locking.9 rmlock.9 sys/kern kern_rmlock.c sys/sys _rmlock.h rmlock.h Log: SVN rev 212112 on 2010-09-01 19:50:03Z by mlaier rmlock(9) two additions and one change/fix: - add rm_try_rlock(). - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while holding the write lock. - change rm_noreadtoken to a cpu bitmask to indicate which CPUs need to go through the lock/unlock in order to synchronize. As a side effect, this also avoids IPI to CPUs without any readers during rm_wlock. Discussed with: ups@, rwatson@ on arch@ Sponsored by: Isilon Systems, Inc. Revision Changes Path 1.373 +1 -0 src/share/man/man9/Makefile 1.22 +8 -1 src/share/man/man9/locking.9 1.6 +28 -2 src/share/man/man9/rmlock.9 1.12 +90 -37 src/sys/kern/kern_rmlock.c 1.2 +7 -3 src/sys/sys/_rmlock.h 1.5 +14 -8 src/sys/sys/rmlock.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009011950.o81JouTn029257>