On Wed, Mar 08, 2017 at 12:38:40PM -0500, Dan Streetman wrote: > > It looks like the crypto_scomp interface is buried under > include/crypto/internal/scompress.h, however that's exactly what zswap > should be using. We don't need to switch to an asynchronous interface > that's rather significantly more complicated, and then use it in a > synchronous way. The crypto_scomp interface should probably be made > public, not an implementation internal. No scomp is not meant to be used externally. We provide exactly one compression interface and it's acomp. acomp can be used synchronously by setting the CRYPTO_ALG_ASYNC bit in the mask field when allocating the algorithm. The existing compression interface will be phased out. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>