X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Fddt.c;h=f93024d8f988a779f16c5b0f24de33810bc2cc49;hb=ebcfc8a53450fd71443668191507770e17c409bd;hp=18c6cef5a84fecbc5fc0b9601ea1abaaba43212e;hpb=2a4a9dc2f09d7672268af4a4f70e1a26b481b5e9;p=zfs.git diff --git a/module/zfs/ddt.c b/module/zfs/ddt.c index 18c6cef..f93024d 100644 --- a/module/zfs/ddt.c +++ b/module/zfs/ddt.c @@ -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));