Skip to content

Commit ce82f19

Browse files
daverodgmantorvalds
authored andcommitted
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>
1 parent 2a1180f commit ce82f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/zram/zram_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static DEFINE_IDR(zram_index_idr);
4141
static DEFINE_MUTEX(zram_index_mutex);
4242

4343
static int zram_major;
44-
static const char *default_compressor = "lzo";
44+
static const char *default_compressor = "lzo-rle";
4545

4646
/* Module params (documentation at end) */
4747
static unsigned int num_devices = 1;

0 commit comments

Comments
 (0)