aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/lzjb.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/lzjb.c')
-rw-r--r--module/zfs/lzjb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/lzjb.c b/module/zfs/lzjb.c
index 4da30cf17..43d0df055 100644
--- a/module/zfs/lzjb.c
+++ b/module/zfs/lzjb.c
@@ -56,7 +56,7 @@ lzjb_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n)
uint16_t *hp;
uint16_t *lempel;
- lempel = kmem_zalloc(LEMPEL_SIZE * sizeof (uint16_t), KM_SLEEP);
+ lempel = kmem_zalloc(LEMPEL_SIZE * sizeof (uint16_t), KM_PUSHPAGE);
while (src < (uchar_t *)s_start + s_len) {
if ((copymask <<= 1) == (1 << NBBY)) {
if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) {