3

I found zstd in /drivers/block/zram/zcomp.c, but I can't find anything zstd-related in /crypto. So is zstd for zram actually available in Linux 4.15 or not?

1 Answer 1

5

It’s supposed to be available in 4.15, as long as the CONFIG_CRYPTO_ZSTD setting is enabled. The implementation lives in lib/zstd.

However the zram integration expects to find zstd via the crypto API, as you discovered, and that part’s missing — which explains why there’s no way to actually enable CRYPTO_ZSTD, and why there’s no code registering zstd with the crypto framework.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .