Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730658

[PATCH 2/2] zram: remove zlib from the list of recommended algorithms

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] zram: remove zlib from the list of recommended algorithms
Date 2017-09-12 07:10 +0200
Message-ID <uoLCp-5lx-5@gated-at.bofh.it> (permalink)
References <uoLCp-5lx-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Suggested-by: Minchan Kim <minchan@kernel.org>
---
 drivers/block/zram/zcomp.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/block/zram/zcomp.c b/drivers/block/zram/zcomp.c
index cc66daec7bbc..4ed0a78fdc09 100644
--- a/drivers/block/zram/zcomp.c
+++ b/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
-- 
2.14.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] zram: remove zlib from the list of recommended algorithms Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-09-12 07:10 +0200
  Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Minchan Kim <minchan@kernel.org> - 2017-09-12 08:50 +0200
    Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-09-12 09:10 +0200
  Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Minchan Kim <minchan@kernel.org> - 2017-09-13 09:20 +0200
    Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-09-13 09:20 +0200
    Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Adam Borowski <kilobyte@angband.pl> - 2017-09-13 12:40 +0200
      Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Minchan Kim <minchan@kernel.org> - 2017-09-14 10:10 +0200

csiph-web