From: Dave Rodgman Date: Wed, 13 Mar 2019 18:44:26 +0000 (-0700) Subject: zram: default to lzo-rle instead of lzo X-Git-Tag: v5.15~6767^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 04ca659..e7a5f1d 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;