From 8464443f8d57a56da6cf4aac727374b8fbd9cd1a Mon Sep 17 00:00:00 2001 From: behlendo Date: Mon, 12 May 2008 16:53:41 +0000 Subject: [PATCH] Add a comment so I remember to fix this. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@106 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c --- include/sys/kmem.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/sys/kmem.h b/include/sys/kmem.h index 319c800b6..d630024ae 100644 --- a/include/sys/kmem.h +++ b/include/sys/kmem.h @@ -37,6 +37,11 @@ extern unsigned long vmem_alloc_max; extern int kmem_warning_flag; extern atomic64_t kmem_cache_alloc_failed; +/* XXX - Not to surprisingly with debugging enabled the xmem_locks are very + * highly contended particularly on xfree(). If we want to run with this + * detailed debugging enabled for anything other than debugging we need to + * minimize the contention by moving to a lock per xmem_table entry model. + */ #define KMEM_HASH_BITS 10 #define KMEM_TABLE_SIZE (1 << KMEM_HASH_BITS)