Re: [RFC] mm/crypto: add tunable compression algorithm for zswap

2017-04-02 Thread Minchan Kim
On Sat, Apr 01, 2017 at 11:18:13PM +0200, Vlastimil Babka wrote: > Zswap (and zram) save memory by compressing pages instead of swapping them > out. This is nice, but with traditional compression algorithms such as LZO, > one cannot know, how well the data will compress, so the overal savings are >

Re: [RFC] mm/crypto: add tunable compression algorithm for zswap

2017-04-02 Thread Matthew Wilcox
On Sat, Apr 01, 2017 at 11:18:13PM +0200, Vlastimil Babka wrote: > In this prototype patch, it offers three predefined ratios, but nothing > prevents more fine-grained settings, except the current crypto API (or my > limited knowledge of it, but I'm guessing nobody really expected the > compression