summaryrefslogtreecommitdiffstats
path: root/include/sys/kmem.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-06-28 20:03:11 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-06-28 20:03:11 +0000
commit1c3832576db0f692ec066b4059feb4a9a695a575 (patch)
tree03933cadbae2c6fc14869c1276c155188281413e /include/sys/kmem.h
parentfece7c99bf18c04993b679c6fca0dd4669361716 (diff)
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
Diffstat (limited to 'include/sys/kmem.h')
-rw-r--r--include/sys/kmem.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sys/kmem.h b/include/sys/kmem.h
index 3c1770052..b90e3fdaf 100644
--- a/include/sys/kmem.h
+++ b/include/sys/kmem.h
@@ -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 *