Switch KM_SLEEP to KM_PUSHPAGE
[zfs.git] / module / zcommon / zprop_common.c
index ab5b466..0a0af23 100644 (file)
@@ -171,7 +171,7 @@ zprop_iter_common(zprop_func func, void *cb, boolean_t show_all,
        size = num_props * sizeof (zprop_desc_t *);
 
 #if defined(_KERNEL)
-       order = kmem_alloc(size, KM_SLEEP);
+       order = kmem_alloc(size, KM_PUSHPAGE);
 #else
        if ((order = malloc(size)) == NULL)
                return (ZPROP_CONT);