From 185d81abe4cd8f26141bdb84367e0457c462beda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nahuel=20G=C3=B3mez?= Date: Sat, 16 Nov 2024 20:14:43 -0300 Subject: [PATCH] drivers: zram: set default comp, algorithm to lzo-rle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that we have dropped Samsung's mm hacks, lzo-rle performs much better. Weird, right? Signed-off-by: Nahuel Gómez --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 15f3ffc28..8519fb97a 100755 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -59,7 +59,7 @@ static DEFINE_IDR(zram_index_idr); static DEFINE_MUTEX(zram_index_mutex); static int zram_major; -static const char *default_compressor = "lz4"; +static const char *default_compressor = "lzo-rle"; static bool is_lzorle; static unsigned char lzo_marker[4] = {0x11, 0x00, 0x00};