From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751373AbdILFAX (ORCPT ); Tue, 12 Sep 2017 01:00:23 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:36372 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119AbdILFAV (ORCPT ); Tue, 12 Sep 2017 01:00:21 -0400 X-Google-Smtp-Source: ADKCNb44J5kayZxRWc7Zh4qu7tAgwagq6vIxUMJP5Cvjgo09TNFiwa6QIUh9wL21GhbFnED+htkoIA== From: Sergey Senozhatsky X-Google-Original-From: Sergey Senozhatsky To: Andrew Morton Cc: Minchan Kim , linux-kernel@vger.kernel.org, Sergey Senozhatsky , Sergey Senozhatsky Subject: [PATCH 2/2] zram: remove zlib from the list of recommended algorithms Date: Tue, 12 Sep 2017 14:00:05 +0900 Message-Id: <20170912050005.3247-2-sergey.senozhatsky@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170912050005.3247-1-sergey.senozhatsky@gmail.com> References: <20170912050005.3247-1-sergey.senozhatsky@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Suggested-by: Minchan Kim --- 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