Messages in this thread Patch in this message | | | From | Sergey Senozhatsky <> | Subject | [PATCH 2/2] zram: remove zlib from the list of recommended algorithms | Date | Tue, 12 Sep 2017 14:00:05 +0900 |
| |
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
| |