]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use a separate lock for the zone and keg. This provides concurrency
authorjeff <jeff@FreeBSD.org>
Sat, 4 Jan 2020 03:15:34 +0000 (03:15 +0000)
committerjeff <jeff@FreeBSD.org>
Sat, 4 Jan 2020 03:15:34 +0000 (03:15 +0000)
commit61b794720318ca4b3ad7cb97082aa64b0cbe54d0
tree71e4944c8a3cfba90257715c8a6bfc0cda7bbc5a
parent44b19cf5068d1f4b3248c2d86ca4d3f8f6a365a6
Use a separate lock for the zone and keg.  This provides concurrency
between populating buckets from the slab layer and fetching full buckets
from the zone layer.  Eliminate some nonsense locking patterns where
we lock to fetch a single variable.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D22828
sys/kern/kern_mbuf.c
sys/vm/uma.h
sys/vm/uma_core.c
sys/vm/uma_int.h