diff options
author | glebius <glebius@FreeBSD.org> | 2013-04-09 15:15:52 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-04-09 15:15:52 +0000 |
commit | d0006df0dfbf0b45236fce9ccbae1815bae56ac4 (patch) | |
tree | c27f5a1feb86aa995968843ce960775caf936a8c /sys/vm/uma_int.h | |
parent | 0da55a1ff7d21f5cb8d1dbcd1e93be05b07e6418 (diff) | |
download | FreeBSD-src-d0006df0dfbf0b45236fce9ccbae1815bae56ac4.zip FreeBSD-src-d0006df0dfbf0b45236fce9ccbae1815bae56ac4.tar.gz |
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
Diffstat (limited to 'sys/vm/uma_int.h')
-rw-r--r-- | sys/vm/uma_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index ee02a46..34b335f 100644 --- a/sys/vm/uma_int.h +++ b/sys/vm/uma_int.h @@ -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 */ }; |