ASSERT(zn->zn_key_intlen == sizeof (*thiskey));
thiskey = kmem_alloc(array_numints * sizeof (*thiskey),
- KM_SLEEP);
+ KM_PUSHPAGE);
zap_leaf_array_read(l, chunk, sizeof (*thiskey), array_numints,
sizeof (*thiskey), array_numints, thiskey);
ASSERT(zn->zn_key_intlen == 1);
if (zn->zn_matchtype == MT_FIRST) {
- char *thisname = kmem_alloc(array_numints, KM_SLEEP);
+ char *thisname = kmem_alloc(array_numints, KM_PUSHPAGE);
boolean_t match;
zap_leaf_array_read(l, chunk, sizeof (char), array_numints,