From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754183AbcEaMVX (ORCPT ); Tue, 31 May 2016 08:21:23 -0400 Received: from mail-pa0-f68.google.com ([209.85.220.68]:35075 "EHLO mail-pa0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172AbcEaMUv (ORCPT ); Tue, 31 May 2016 08:20:51 -0400 From: Sergey Senozhatsky To: Minchan Kim Cc: Andrew Morton , Joonsoo Kim , linux-kernel@vger.kernel.org, Sergey Senozhatsky , Sergey Senozhatsky Subject: [PATCH v2 7/8] zram: add more compression algorithms Date: Tue, 31 May 2016 21:20:16 +0900 Message-Id: <20160531122017.2878-8-sergey.senozhatsky@gmail.com> X-Mailer: git-send-email 2.8.3.394.g3916adf In-Reply-To: <20160531122017.2878-1-sergey.senozhatsky@gmail.com> References: <20160531122017.2878-1-sergey.senozhatsky@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add "deflate", "lz4hc", "842" algorithms to the list of known compression backends. The real availability of those algorithms, however, depends on the corresponding CONFIG_CRYPTO_FOO config options. Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram/zcomp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/block/zram/zcomp.c b/drivers/block/zram/zcomp.c index 0c8606b..1e0fc1d1 100644 --- a/drivers/block/zram/zcomp.c +++ b/drivers/block/zram/zcomp.c @@ -21,6 +21,9 @@ static const char * const backends[] = { "lzo", "lz4", + "deflate", + "lz4hc", + "842", NULL }; -- 2.8.3.394.g3916adf