summaryrefslogtreecommitdiffstats
path: root/module/spl
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-26 20:10:23 -0800
committerBrian Behlendorf <[email protected]>2009-01-26 20:10:23 -0800
commit34e71c9e97f4d0d2b3ede850d016a7de558b0f3c (patch)
treef94d79d9689ebca47c1a92da7bf71239b70c56b3 /module/spl
parent0f233eac33e40d58386a8faa5656ee59bbfccfce (diff)
Remove debug check was was accidentally left in place an prevent the slab cache from working on systems with >4 cores
Diffstat (limited to 'module/spl')
-rw-r--r--module/spl/spl-kmem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
index 0c3c2f37e..a68f8efe9 100644
--- a/module/spl/spl-kmem.c
+++ b/module/spl/spl-kmem.c
@@ -1206,7 +1206,6 @@ spl_kmem_cache_alloc(spl_kmem_cache_t *skc, int flags)
spl_kmem_magazine_t *skm;
unsigned long irq_flags;
void *obj = NULL;
- int id;
ENTRY;
ASSERT(skc->skc_magic == SKC_MAGIC);
@@ -1218,8 +1217,6 @@ restart:
* in the restart case we must be careful to reaquire
* the local magazine since this may have changed
* when we need to grow the cache. */
- id = smp_processor_id();
- ASSERTF(id < 4, "cache=%p smp_processor_id=%d\n", skc, id);
skm = skc->skc_mag[smp_processor_id()];
ASSERTF(skm->skm_magic == SKM_MAGIC, "%x != %x: %s/%p/%p %x/%x/%x\n",
skm->skm_magic, SKM_MAGIC, skc->skc_name, skc, skm,