[PATCH v2 0/4] zram: implement deduplication in zram

From: js1304
Date: Thu Mar 30 2017 - 01:40:04 EST


From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>

Changes from v1
o reogranize dedup specific functions
o support Kconfig on/off
o update zram documents
o compare all the entries with same checksum (patch #4)

This patchset implements deduplication feature in zram. Motivation
is to save memory usage by zram. There are detailed description
about motivation and experimental results on patch #2 so please
refer it.

Thanks.

Joonsoo Kim (4):
zram: introduce zram_entry to prepare dedup functionality
zram: implement deduplication in zram
zram: make deduplication feature optional
zram: compare all the entries with same checksum for deduplication

Documentation/ABI/testing/sysfs-block-zram | 10 +
Documentation/blockdev/zram.txt | 3 +
drivers/block/zram/Kconfig | 14 ++
drivers/block/zram/Makefile | 3 +-
drivers/block/zram/zram_dedup.c | 288 +++++++++++++++++++++++++++++
drivers/block/zram/zram_dedup.h | 56 ++++++
drivers/block/zram/zram_drv.c | 170 +++++++++++++----
drivers/block/zram/zram_drv.h | 25 ++-
8 files changed, 535 insertions(+), 34 deletions(-)
create mode 100644 drivers/block/zram/zram_dedup.c
create mode 100644 drivers/block/zram/zram_dedup.h

--
2.7.4