From: Sergey Senozhatsky Date: Thu, 16 Nov 2017 01:33:53 +0000 (-0800) Subject: zram: remove zlib from the list of recommended algorithms X-Git-Tag: v4.19~2177^2~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b07ff3972061a5e06e168378dd578801ae3e88e;p=platform%2Fkernel%2Flinux-rpi.git 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. Link: http://lkml.kernel.org/r/20170912050005.3247-2-sergey.senozhatsky@gmail.com Signed-off-by: Sergey Senozhatsky Suggested-by: Minchan Kim Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/zram/zcomp.c b/drivers/block/zram/zcomp.c index cc66dae..4ed0a78 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