From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760927AbcALIBK (ORCPT ); Tue, 12 Jan 2016 03:01:10 -0500 Received: from mga02.intel.com ([134.134.136.20]:31406 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752340AbcALIBH (ORCPT ); Tue, 12 Jan 2016 03:01:07 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,556,1444719600"; d="scan'208";a="858721548" Subject: Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs To: Joonsoo Kim , Herbert Xu References: <1451882819-2810-1-git-send-email-iamjoonsoo.kim@lge.com> CC: "David S. Miller" , Sergey Senozhatsky , Minchan Kim , , , Joonsoo Kim From: "Li, Weigang" Message-ID: <5694B2B2.7050806@intel.com> Date: Tue, 12 Jan 2016 16:00:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1451882819-2810-1-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.239.127.40] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/4/2016 12:46 PM, Joonsoo Kim wrote: > Happy New Year! > > This patchset is to introduce new compression APIs. It supports async/sync > compression although there is no async compression driver yet. But, async > APIs can be used as front-end to sync compression algorithm. Major change > is that now APIs are stateless. Instead of previous implementation, tfm > objects doesn't embedded any context so we can de/compress concurrently > with one tfm object. Instead, this de/compression context is coupled with > the request. This architecture change will make APIs more flexible. > > This is just a RFC so commit description isn't sufficient. If Herbert > confirms that this is what he expect, I will respin the series with proper > commit description and adding more algorithm support. > > Thanks. > > Joonsoo Kim (6): > crypto/compress: remove unused pcomp interface > crypto/compress: introduce sychronuous compression API > crypto/lzo: support SCOMPRESS alg type > crypto: testmgr: add scompress/acompress test > crypto/compress: add algorithm type specific flag, DECOMP_NOCTX > crypto/lzo: add CRYPTO_ALG_SCOMPRESS_DECOMP_NOCTX cra_flags > > Weigang Li (1): > crypto: add asynchronous compression support > > crypto/Kconfig | 19 +- > crypto/Makefile | 4 +- > crypto/acompress.c | 164 ++++++++++++++++ > crypto/lzo.c | 95 +++++++-- > crypto/pcompress.c | 115 ----------- > crypto/scompress.c | 283 +++++++++++++++++++++++++++ > crypto/testmgr.c | 376 +++++++++++++++--------------------- > crypto/testmgr.h | 142 -------------- > crypto/zlib.c | 381 ------------------------------------- > include/crypto/compress.h | 354 +++++++++++++++++++++++++--------- > include/crypto/internal/compress.h | 32 +--- > include/linux/crypto.h | 10 +- > 12 files changed, 969 insertions(+), 1006 deletions(-) > create mode 100644 crypto/acompress.c > delete mode 100644 crypto/pcompress.c > create mode 100644 crypto/scompress.c > delete mode 100644 crypto/zlib.c > Hello Herbert, Any comments on this patchset?