aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Rodgman <dave.rodgman@arm.com>2019-03-13 11:44:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-14 14:36:20 -0700
commitce82f19fd5809f0cf87ea9f753c5cc65ca0673d6 (patch)
treef3ea346af2154ca68562ff9dc2727fb4380e959a
parentfilemap: pass vm_fault to the mmap ra helpers (diff)
downloadlinux-dev-ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6.tar.xz
linux-dev-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>
-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;