diff options
author | bryanv <bryanv@FreeBSD.org> | 2014-10-05 21:34:56 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2014-10-05 21:34:56 +0000 |
commit | 41e2fe5645e012d2b2b2e3564f9f384150b0911c (patch) | |
tree | 0f0d700d6a0add739162d873ec1455e1eaa7c7bd /libexec/dma | |
parent | 3297c817fa5bce2d8b7db11e8aa17ffcc940936c (diff) | |
download | FreeBSD-src-41e2fe5645e012d2b2b2e3564f9f384150b0911c.zip FreeBSD-src-41e2fe5645e012d2b2b2e3564f9f384150b0911c.tar.gz |
Change the UMA mutex into a rwlock
Acquire the lock in read mode when just needed to ensure the stability
of the keg list. The UMA lock may be held for a long time (relatively
speaking) in uma_reclaim() on machines with lots of zones/kegs. If the
uma_timeout() would fire during that period, subsequent callouts on that
CPU may be significantly delayed.
Reviewed by: jhb
Diffstat (limited to 'libexec/dma')
0 files changed, 0 insertions, 0 deletions