freebsd-dev/sys/cddl/contrib/opensolaris/uts
Xin LI b4bb49887b Reduce lock contention on the z_teardown_lock under heavily cached
read workload by splitting the single teardown rrw lock into
RRM_NUM_LOCKS (17) of them.

Read acquisitions are randomly distributed among these locks based
on curthread pointer.  Write acquisitions are going to all the
locks, which for the usage of this type of lock should be rare.

Illumos issue:
    5008 lock contention (rrw_exit) while running a read only load

MFC after:	2 weeks
2014-07-19 00:26:03 +00:00
..
common Reduce lock contention on the z_teardown_lock under heavily cached 2014-07-19 00:26:03 +00:00
intel DTrace's pid provider works by inserting breakpoint instructions at probe 2014-04-14 00:22:42 +00:00
mips Add MIPS support to cddl/contrib part: 2012-03-24 04:52:18 +00:00
powerpc Correct the check for errors from proc_rwmem(). 2013-12-11 04:31:40 +00:00
sparc In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00