Skip to contentSkip to conversation

zram: remove zlib from the list of recommended algorithms

PATCH New [email protected] 1 participant 1 message Nov 16, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 43/131 zram: remove zlib from the list of recommended algorithms

From: Sergey Senozhatsky <[email protected]>
Subject: zram: remove zlib from the list of recommended algorithms

ZSTD tends to outperform deflate/inflate, thus we remove zlib from the list of recommended algorithms and recommend zstd instead.

---

 drivers/block/zram/zcomp.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/block/zram/zcomp.c renamed from drivers/block/zram/zcomp.c~zram-remove-zlib-from-the-list-of-recommended-algorithms +0 -3
diff -puN drivers/block/zram/zcomp.c~zram-remove-zlib-from-the-list-of-recommended-algorithms drivers/block/zram/zcomp.c
@@ -23,9 +23,6 @@ static const char * const backends[] = {
 #if IS_ENABLED(CONFIG_CRYPTO_LZ4)
 	"lz4",
 #endif
-#if IS_ENABLED(CONFIG_CRYPTO_DEFLATE)
-	"deflate",
-#endif
 #if IS_ENABLED(CONFIG_CRYPTO_LZ4HC)
 	"lz4hc",
 #endif

_