mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
Remove debug check was was accidentally left in place an prevent the slab cache from working on systems with >4 cores
This commit is contained in:
parent
0f233eac33
commit
34e71c9e97
@ -1206,7 +1206,6 @@ spl_kmem_cache_alloc(spl_kmem_cache_t *skc, int flags)
|
|||||||
spl_kmem_magazine_t *skm;
|
spl_kmem_magazine_t *skm;
|
||||||
unsigned long irq_flags;
|
unsigned long irq_flags;
|
||||||
void *obj = NULL;
|
void *obj = NULL;
|
||||||
int id;
|
|
||||||
ENTRY;
|
ENTRY;
|
||||||
|
|
||||||
ASSERT(skc->skc_magic == SKC_MAGIC);
|
ASSERT(skc->skc_magic == SKC_MAGIC);
|
||||||
@ -1218,8 +1217,6 @@ restart:
|
|||||||
* in the restart case we must be careful to reaquire
|
* in the restart case we must be careful to reaquire
|
||||||
* the local magazine since this may have changed
|
* the local magazine since this may have changed
|
||||||
* when we need to grow the cache. */
|
* 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()];
|
skm = skc->skc_mag[smp_processor_id()];
|
||||||
ASSERTF(skm->skm_magic == SKM_MAGIC, "%x != %x: %s/%p/%p %x/%x/%x\n",
|
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,
|
skm->skm_magic, SKM_MAGIC, skc->skc_name, skc, skm,
|
||||||
|
Loading…
Reference in New Issue
Block a user