Switch KM_SLEEP to KM_PUSHPAGE
[zfs.git] / module / zfs / dmu_objset.c
index c59973a..50673dc 100644 (file)
@@ -1672,7 +1672,7 @@ dmu_objset_find_spa(spa_t *spa, const char *name,
        }
 
        thisobj = dd->dd_phys->dd_head_dataset_obj;
-       attr = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
+       attr = kmem_alloc(sizeof (zap_attribute_t), KM_PUSHPAGE);
        dp = dd->dd_pool;
 
        /*