Re: [PATCH v7] zram: break the strict dependency from lzo

2020-12-08 Thread Minchan Kim
On Tue, Dec 08, 2020 at 09:26:55AM -0800, Minchan Kim wrote: > On Mon, Dec 07, 2020 at 12:12:45PM +, Rui Salvaterra wrote: > > From the beginning, the zram block device always enabled CRYPTO_LZO, since > > lzo-rle is hardcoded as the fallback compression algorithm. As a > > consequence, on > >

Re: [PATCH v7] zram: break the strict dependency from lzo

2020-12-08 Thread Minchan Kim
On Mon, Dec 07, 2020 at 12:12:45PM +, Rui Salvaterra wrote: > From the beginning, the zram block device always enabled CRYPTO_LZO, since > lzo-rle is hardcoded as the fallback compression algorithm. As a consequence, > on > systems where another compression algorithm is chosen (e.g. CRYPTO_ZST

[PATCH v7] zram: break the strict dependency from lzo

2020-12-07 Thread Rui Salvaterra
>From the beginning, the zram block device always enabled CRYPTO_LZO, since lzo-rle is hardcoded as the fallback compression algorithm. As a consequence, on systems where another compression algorithm is chosen (e.g. CRYPTO_ZSTD), the lzo kernel module becomes unused, while still having to be built