All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] Introduce new async/sync compression APIs
@ 2016-01-26  8:15 Joonsoo Kim
  2016-01-26  8:15 ` [PATCH v2 01/10] crypto/compress: remove unused pcomp interface Joonsoo Kim
                   ` (9 more replies)
  0 siblings, 10 replies; 28+ messages in thread
From: Joonsoo Kim @ 2016-01-26  8:15 UTC (permalink / raw)
  To: Herbert Xu
  Cc: David S. Miller, Weigang Li, Sergey Senozhatsky, Minchan Kim,
	Dan Streetman, linux-crypto, linux-kernel, Joonsoo Kim

This patchset introduces new compression APIs. This work is started
to support crypto compression in zram [1]. I will restart that work
after this patchset is mereged. Major point of new APIs is that it is
now stateless. Instead of legacy compression API, 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 and we can naturally
use asynchronous APIs as front-end of synchronous compression algorithm.

Moreover, thanks to this change, we can decompress without context buffer
if algorithm supports it. In this case, we can achieve maximum parallelism
without memory overhead caused by context buffer.

Please let know if there is a problem.

Thanks.

[1]: https://lkml.org/lkml/2015/10/14/83

Joonsoo Kim (9):
  crypto/compress: remove unused pcomp interface
  crypto: add algorithm type specific flag, CRYPTO_ALG_PRIVATE
  crypto/compress: introduce sychronuous compression API
  crypto/lzo: support new compression APIs
  crypto/lz4: support new compression APIs
  crypto/lz4hc: support new compression APIs
  crypto/842: support new compression APIs
  crypto/deflate: support new compression APIs
  crypto/testmgr: add new compression APIs test

Weigang Li (1):
  crypto/compress: add asynchronous compression support

 crypto/842.c                       |  85 +++++++-
 crypto/Kconfig                     |  23 +-
 crypto/Makefile                    |   4 +-
 crypto/acompress.c                 | 164 ++++++++++++++
 crypto/deflate.c                   | 110 +++++++++-
 crypto/lz4.c                       |  91 +++++++-
 crypto/lz4hc.c                     |  91 +++++++-
 crypto/lzo.c                       |  95 ++++++--
 crypto/pcompress.c                 | 115 ----------
 crypto/scompress.c                 | 284 ++++++++++++++++++++++++
 crypto/testmgr.c                   | 428 ++++++++++++++++++-------------------
 crypto/testmgr.h                   | 144 -------------
 crypto/zlib.c                      | 381 ---------------------------------
 include/crypto/compress.h          | 375 ++++++++++++++++++++++++--------
 include/crypto/internal/compress.h |  32 +--
 include/linux/crypto.h             |   9 +-
 16 files changed, 1387 insertions(+), 1044 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

-- 
1.9.1

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2016-02-04 16:19 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-26  8:15 [PATCH v2 00/10] Introduce new async/sync compression APIs Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 01/10] crypto/compress: remove unused pcomp interface Joonsoo Kim
2016-01-27 14:17   ` Herbert Xu
2016-01-26  8:15 ` [PATCH v2 02/10] crypto: add algorithm type specific flag, CRYPTO_ALG_PRIVATE Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 03/10] crypto/compress: introduce sychronuous compression API Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 04/10] crypto/compress: add asynchronous compression support Joonsoo Kim
2016-01-27  7:41   ` Herbert Xu
2016-01-27  7:59     ` Li, Weigang
2016-01-27  8:03       ` Herbert Xu
2016-01-27  8:09         ` Herbert Xu
2016-01-27  8:26           ` Li, Weigang
2016-01-28  3:19           ` Joonsoo Kim
2016-01-29 10:09             ` Herbert Xu
2016-02-01  2:11               ` Joonsoo Kim
2016-02-04  3:25                 ` Li, Weigang
2016-02-04  3:28                   ` Herbert Xu
2016-02-04  3:29                     ` Herbert Xu
2016-02-04  3:50                       ` Li, Weigang
2016-02-04 14:56                         ` Herbert Xu
2016-02-04  7:17                     ` Joonsoo Kim
2016-02-04 14:53                       ` Herbert Xu
2016-02-04 16:19                         ` Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 05/10] crypto/lzo: support new compression APIs Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 06/10] crypto/lz4: " Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 07/10] crypto/lz4hc: " Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 08/10] crypto/842: " Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 09/10] crypto/deflate: " Joonsoo Kim
2016-01-26  8:15 ` [PATCH v2 10/10] crypto/testmgr: add new compression APIs test Joonsoo Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.