Skip to content
Snippets Groups Projects
Commit ce82f19f authored by Dave Rodgman's avatar Dave Rodgman Committed by Linus Torvalds
Browse files

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: default avatarDave Rodgman <dave.rodgman@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2a1180f1
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ static DEFINE_IDR(zram_index_idr); ...@@ -41,7 +41,7 @@ static DEFINE_IDR(zram_index_idr);
static DEFINE_MUTEX(zram_index_mutex); static DEFINE_MUTEX(zram_index_mutex);
static int zram_major; static int zram_major;
static const char *default_compressor = "lzo"; static const char *default_compressor = "lzo-rle";
/* Module params (documentation at end) */ /* Module params (documentation at end) */
static unsigned int num_devices = 1; static unsigned int num_devices = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment