diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2003-09-19 06:26:45 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2003-09-19 06:26:45 +0000 |
commit | cae33c14291339048a4b1365bb3fb45d82ef68b0 (patch) | |
tree | 959b898cffd6289100d88f14df3b9529896e58ed /usr.bin/ipcrm | |
parent | 45ae1d91477404078b5690db64522b6a5eeaf3dd (diff) | |
download | src-cae33c14291339048a4b1365bb3fb45d82ef68b0.tar.gz src-cae33c14291339048a4b1365bb3fb45d82ef68b0.zip |
- Initialize a pool of bucket zones so that we waste less space on zones that
don't cache as many items.
- Introduce the bucket_alloc(), bucket_free() functions to wrap bucket
allocation. These functions select the appropriate bucket zone to
allocate from or free to.
- Rename ub_ptr to ub_cnt to reflect a change in its use. ub_cnt now reflects
the count of free items in the bucket. This gets rid of many unnatural
subtractions by 1 throughout the code.
- Add ub_entries which reflects the number of entries possibly held in a
bucket.
Notes
Notes:
svn path=/head/; revision=120218
Diffstat (limited to 'usr.bin/ipcrm')
0 files changed, 0 insertions, 0 deletions