Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1307376

Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs
Date 2016-01-12 13:50 +0100
Message-ID <qQ6yC-WB-23@gated-at.bofh.it> (permalink)
References <qN5fH-6LH-7@gated-at.bofh.it> <qQ2bE-6zh-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 12, 2016 at 04:00:50PM +0800, Li, Weigang wrote:
> 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?

The interfaces look good to me.

Thanks!
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC 0/7] Introduce new async/sync compression APIs Joonsoo Kim <js1304@gmail.com> - 2016-01-04 05:50 +0100
  [PATCH RFC 6/7] crypto/compress: add algorithm type specific flag, DECOMP_NOCTX Joonsoo Kim <js1304@gmail.com> - 2016-01-04 05:50 +0100
  Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs "Li, Weigang" <weigang.li@intel.com> - 2016-01-12 09:10 +0100
    Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs Herbert Xu <herbert@gondor.apana.org.au> - 2016-01-12 13:50 +0100
      Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs Herbert Xu <herbert@gondor.apana.org.au> - 2016-01-13 09:30 +0100
      Re: [PATCH RFC 0/7] Introduce new async/sync compression APIs Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-01-13 09:30 +0100

csiph-web