summaryrefslogtreecommitdiffstats
path: root/drivers/block/zram/zram_drv.c
diff options
context:
space:
mode:
authorDave Rodgman <dave.rodgman@arm.com>2019-03-13 19:44:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-14 22:36:20 +0100
commitce82f19fd5809f0cf87ea9f753c5cc65ca0673d6 (patch)
treef3ea346af2154ca68562ff9dc2727fb4380e959a /drivers/block/zram/zram_drv.c
parentfilemap: pass vm_fault to the mmap ra helpers (diff)
downloadlinux-ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6.tar.xz
linux-ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6.zip
zram: default to lzo-rle instead of lzo
lzo-rle gives higher performance and similar compression ratios to lzo. Link: http://lkml.kernel.org/r/20190205155944.16007-4-dave.rodgman@arm.com Signed-off-by: Dave Rodgman <dave.rodgman@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/block/zram/zram_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
index 04ca65912638..e7a5f1d1c314 100644
--- a/drivers/block/zram/zram_drv.c
+++ b/drivers/block/zram/zram_drv.c
@@ -41,7 +41,7 @@ static DEFINE_IDR(zram_index_idr);
static DEFINE_MUTEX(zram_index_mutex);
static int zram_major;
-static const char *default_compressor = "lzo";
+static const char *default_compressor = "lzo-rle";
/* Module params (documentation at end) */
static unsigned int num_devices = 1;