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


Groups > linux.kernel > #1602639 > unrolled thread

Re: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework support

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2017-03-16 17:40 +0100
Last post2017-03-16 19:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework  support Herbert Xu <herbert@gondor.apana.org.au> - 2017-03-16 17:40 +0100
    Re: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework support Dan Streetman <ddstreet@ieee.org> - 2017-03-16 19:30 +0100

#1602639 — Re: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework support

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2017-03-16 17:40 +0100
SubjectRe: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework support
Message-ID<tlGBt-10m-45@gated-at.bofh.it>
On Wed, Mar 08, 2017 at 12:38:40PM -0500, Dan Streetman wrote:
>
> zswap gets the fun of being the first crypto compression consumer to
> switch to the new api? ;-)

BTW I think we should hold off on converting zswap for now.

The reason is that I'd like to try out the new interface on IPcomp
and make sure that it actually is able to do decompression piecemeal
which is the main advantage over the existing interface for IPcomp
where we allocate for the worst-case (64K vs average packet size
of 1.5K).

In that process we may have to tweak the interface.

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

[toc] | [next] | [standalone]


#1602741 — Re: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework support

FromDan Streetman <ddstreet@ieee.org>
Date2017-03-16 19:30 +0100
SubjectRe: [PATCH v2 1/1] mm: zswap - Add crypto acomp/scomp framework support
Message-ID<tlIjU-2f6-31@gated-at.bofh.it>
In reply to#1602639
On Thu, Mar 16, 2017 at 12:33 PM, Herbert Xu
<herbert@gondor.apana.org.au> wrote:
> On Wed, Mar 08, 2017 at 12:38:40PM -0500, Dan Streetman wrote:
>>
>>
>> setting the ASYNC bit makes it synchronous?  that seems backwards...?
>
> You set the ASYNC bit in the mask and leave it clear in the type.
> That way only algorithms with the ASYNC bit off will match.

aha, ok i get it now.

>> zswap gets the fun of being the first crypto compression consumer to
>> switch to the new api? ;-)
>
> BTW I think we should hold off on converting zswap for now.

ok that sounds good, we can wait.  Thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web