Either "free" or "allocated" is misleading here, since an item

in a bucket is free from perspective of UMA consumer, and it is
allocated from perspective of keg.

Discussed with:	markj
Approved by:	re (kib)
This commit is contained in:
Gleb Smirnoff 2018-08-24 18:47:50 +00:00
parent eeab916dad
commit 306abf0f35
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338302

View File

@ -188,7 +188,7 @@ struct uma_hash {
struct uma_bucket {
LIST_ENTRY(uma_bucket) ub_link; /* Link into the zone */
int16_t ub_cnt; /* Count of allocated items. */
int16_t ub_cnt; /* Count of items in bucket. */
int16_t ub_entries; /* Max items. */
void *ub_bucket[]; /* actual allocation storage */
};