Skip to content

Commit

Permalink
zram: default to lzo-rle instead of lzo
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
daverodgman authored and torvalds committed Mar 14, 2019
1 parent 2a1180f commit ce82f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/zram/zram_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce82f19

Please sign in to comment.