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:
Nahuel Gómez 2024-11-16 20:14:43 -03:00 committed by Ksawlii
parent 689e517a93
commit 185d81abe4

View file

@ -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};