drivers: zram: set default comp, algorithm to lzo-rle
Now that we have dropped Samsung's mm hacks, lzo-rle performs much better. Weird, right? Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
parent
689e517a93
commit
185d81abe4
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,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 = "lz4";
|
static const char *default_compressor = "lzo-rle";
|
||||||
|
|
||||||
static bool is_lzorle;
|
static bool is_lzorle;
|
||||||
static unsigned char lzo_marker[4] = {0x11, 0x00, 0x00};
|
static unsigned char lzo_marker[4] = {0x11, 0x00, 0x00};
|
||||||
|
|
Loading…
Reference in a new issue