summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-08-02 04:06:35 +0000
committerdelphij <delphij@FreeBSD.org>2014-08-02 04:06:35 +0000
commitfc1b233fa4d8f8aaa75fbdd7cf640d804915f73b (patch)
tree999367b0df22064fd8ad8df6c9f3a949f048b01c /lib/libc/stdio
parent2f2875361e19bf1fdf4fde5c8e1763dcc4190620 (diff)
downloadFreeBSD-src-fc1b233fa4d8f8aaa75fbdd7cf640d804915f73b.zip
FreeBSD-src-fc1b233fa4d8f8aaa75fbdd7cf640d804915f73b.tar.gz
MFC r268865: MFV r268852:
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
Diffstat (limited to 'lib/libc/stdio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud