Skip to content

mm: unify default compressor algorithm for zram/zswap

Kefeng Wang linux-block linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review 1 of 5 applied

Patches in v1 1 of 5 applied

#Subject and filesSizeRepliesApplied
1/5zram: zcomp: remove zcomp_set_max_streams() declarationdrivers/block/zram/zcomp.h+0 -10 repliesApplied
2/5zram: make zram depends on SWAPdrivers/block/zram/Kconfig+1 -11 reply
3/5zram: support deflate compressordrivers/block/zram/Kconfig drivers/block/zram/zcomp.c+9 -10 replies
4/5mm: zswap: default to lzo-rle instead of lzomm/Kconfig+9 -20 replies
5/5mm: unify default compressor algorithm for zswap and zramDocumentation/admin-guide/mm/zswap.rst arch/loongarch/configs/loongson3_defconfig drivers/block/zram/Kconfig +3 more+74 -1180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] mm: unify default compressor algorithm for zram/zswap

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
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

 Documentation/admin-guide/mm/zswap.rst     |   2 +-
 arch/loongarch/configs/loongson3_defconfig |   2 +-
 drivers/block/zram/Kconfig                 |  44 +------
 drivers/block/zram/zcomp.c                 |   3 +
 drivers/block/zram/zcomp.h                 |   1 -
 drivers/block/zram/zram_drv.c              |   2 +-
 mm/Kconfig                                 | 134 +++++++++++----------
 mm/zswap.c                                 |   8 +-
 8 files changed, 83 insertions(+), 113 deletions(-)
Signature · 1 line
2.27.0