diff options
author | jeff <jeff@FreeBSD.org> | 2013-06-17 03:43:47 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2013-06-17 03:43:47 +0000 |
commit | 1980616f65e0f5a9bfb09904be92bc18ec636319 (patch) | |
tree | 617d22c3d82015d8ca2c2b8273fbcd0c3a2020c4 /contrib/dialog/treeview.c | |
parent | a5442c0a6f621cd11c2b504e6a749b4eebc4b7fc (diff) | |
download | FreeBSD-src-1980616f65e0f5a9bfb09904be92bc18ec636319.zip FreeBSD-src-1980616f65e0f5a9bfb09904be92bc18ec636319.tar.gz |
- Add a new UMA API: uma_zcache_create(). This makes a zone without any
backing memory that is only a container for per-cpu caches of arbitrary
pointer items. These zones have no kegs.
- Convert the regular keg based allocator to use the new import/release
functions.
- Move some stats to be atomics since they would require excessive zone
locking/unlocking with the new import/release paradigm. Make
zone_free_item simpler now that callers can manage more stats.
- Check for these cache-only zones in the public APIs and debugging
code by checking zone_first_keg() against NULL.
Sponsored by: EMC / Isilong Storage Division
Diffstat (limited to 'contrib/dialog/treeview.c')
0 files changed, 0 insertions, 0 deletions