diff options
author | bryanv <bryanv@FreeBSD.org> | 2014-10-22 04:09:47 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2014-10-22 04:09:47 +0000 |
commit | 0895e1be7fb426c7fbc533e86b8e366cead1e094 (patch) | |
tree | caf222a7907608499d9d6764ebd18b74cf906337 /lib/libc/stdlib/twalk.c | |
parent | 137a650c1121f5fb5f94f7db8b804e5ea2dee73b (diff) | |
download | FreeBSD-src-0895e1be7fb426c7fbc533e86b8e366cead1e094.zip FreeBSD-src-0895e1be7fb426c7fbc533e86b8e366cead1e094.tar.gz |
MFC r272573:
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.
Diffstat (limited to 'lib/libc/stdlib/twalk.c')
0 files changed, 0 insertions, 0 deletions