mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Remove stray call to spl_cache_free() and remove all the
cycle count which was costing me overhead. It was hurting performance pretty badly for heavily used caches. I'm also thinking the hash may be hurting me as well and it might be worth sticking a pointer in to a little space after the alloced object. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@140 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
@@ -538,11 +538,6 @@ typedef struct spl_kmem_cache {
|
||||
uint64_t skc_obj_max; /* Obj max historic */
|
||||
uint64_t skc_hash_depth; /* Lazy hash depth */
|
||||
uint64_t skc_hash_count; /* Hash entries current */
|
||||
cycles_t skc_lock_reclaim;
|
||||
cycles_t skc_lock_destroy;
|
||||
cycles_t skc_lock_grow;
|
||||
cycles_t skc_lock_refill;
|
||||
cycles_t skc_lock_flush;
|
||||
} spl_kmem_cache_t;
|
||||
|
||||
extern spl_kmem_cache_t *
|
||||
|
||||
Reference in New Issue
Block a user