1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/cddl
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
..
boot/zfs MFV r267565: 2014-07-01 06:43:15 +00:00
compat/opensolaris Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
contrib/opensolaris Reduce lock contention on the z_teardown_lock under heavily cached 2014-07-19 00:26:03 +00:00
dev Invoke the DTrace trap handler before calling trap() on amd64. This matches 2014-07-14 04:38:17 +00:00