]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/ddt.c
Switch KM_SLEEP to KM_PUSHPAGE
[mirror_zfs.git] / module / zfs / ddt.c
index 18c6cef5a84fecbc5fc0b9601ea1abaaba43212e..f93024d8f988a779f16c5b0f24de33810bc2cc49 100644 (file)
@@ -504,7 +504,7 @@ ddt_get_dedup_stats(spa_t *spa, ddt_stat_t *dds_total)
        ddt_histogram_t *ddh_total;
 
        /* XXX: Move to a slab */
-       ddh_total = kmem_zalloc(sizeof (ddt_histogram_t), KM_SLEEP);
+       ddh_total = kmem_zalloc(sizeof (ddt_histogram_t), KM_PUSHPAGE);
        ddt_get_dedup_histogram(spa, ddh_total);
        ddt_histogram_stat(dds_total, ddh_total);
        kmem_free(ddh_total, sizeof (ddt_histogram_t));