]> Git Repo - linux.git/commitdiff
zram: default to lzo-rle instead of lzo
authorDave Rodgman <[email protected]>
Wed, 13 Mar 2019 18:44:26 +0000 (11:44 -0700)
committerLinus Torvalds <[email protected]>
Thu, 14 Mar 2019 21:36:20 +0000 (14:36 -0700)
lzo-rle gives higher performance and similar compression ratios to lzo.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Dave Rodgman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/block/zram/zram_drv.c

index 04ca65912638d50e16028de4c99cd9c127a319fd..e7a5f1d1c3141acf9ef79c79fc5829886ef73245 100644 (file)
@@ -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;
This page took 0.057856 seconds and 4 git commands to generate.