diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2020-01-04 03:15:34 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2020-01-04 03:15:34 +0000 |
commit | 727c691857c8dfd0064d889ca2ac9ad5bdff66c0 (patch) | |
tree | 71e4944c8a3cfba90257715c8a6bfc0cda7bbc5a /sys/vm/uma.h | |
parent | 4bd61e19a2c2555b5cc12f6d1d28244dbebfe49c (diff) | |
download | src-727c691857c8dfd0064d889ca2ac9ad5bdff66c0.tar.gz src-727c691857c8dfd0064d889ca2ac9ad5bdff66c0.zip |
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
Notes
Notes:
svn path=/head/; revision=356348
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r-- | sys/vm/uma.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h index 0ba15d5b3582..1ea6a41ac08a 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -641,7 +641,6 @@ void uma_prealloc(uma_zone_t zone, int itemcnt); * Non-zero if zone is exhausted. */ int uma_zone_exhausted(uma_zone_t zone); -int uma_zone_exhausted_nolock(uma_zone_t zone); /* * Common UMA_ZONE_PCPU zones. |