Since now we support 256 items per slab, we need more bits
for us_freecount. This grows uma_slab_head on 32-bit arches, but growth isn't significant. Taking kmem zones as example, only the 32 byte zone is affected, ipers is reduced from 113 to 112. In collaboration with: kib
This commit is contained in:
parent
0da55a1ff7
commit
d0006df0df
@ -246,7 +246,7 @@ struct uma_slab_head {
|
||||
SLIST_ENTRY(uma_slab) us_hlink; /* Link for hash table */
|
||||
u_int8_t *us_data; /* First item */
|
||||
u_int8_t us_flags; /* Page flags see uma.h */
|
||||
u_int8_t us_freecount; /* How many are free? */
|
||||
u_int16_t us_freecount; /* How many are free? */
|
||||
u_int8_t us_firstfree; /* First free item index */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user