On 2024/2/23 12:51, Sergey Senozhatsky wrote:
On (24/02/23 11:55), Kefeng Wang wrote:
Both zram and zswap are used to reduce memory usage by compressing cold
page, a default compressor algorithm is selected from kinds of compressor
algorithm as the default one from very similar Kconfig, also both of
them could change the algorithm by sysfs interfaces, so unify the
default compressor algorithm to cleanup the default algorithm chosen.
Kefeng Wang (5):
zram: zcomp: remove zcomp_set_max_streams() declaration
I'm afraid this (1/5) is the only patch in the series that we can land.
The rest of the series doesn't look beneficial nor correct. Sorry.
OK, please ignore the reset of patches, Andrew, could you only pick the
first one, thanks.
zram: make zram depends on SWAP
zram: support deflate compressor
mm: zswap: default to lzo-rle instead of lzo
mm: unify default compressor algorithm for zswap and zram