Skip to contentSkip to conversation

zswap-add-to-mm.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 11, 2013

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] zswap-add-to-mm.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 11 Jul 2013 13:16:33 -0700

The patch titled
Subject: zswap: add to mm/
has been removed from the -mm tree. Its filename was
zswap-add-to-mm.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Seth Jennings <[email protected]>
Subject: zswap: add to mm/

zswap is a thin backend for frontswap that takes pages that are in the process of being swapped out and attempts to compress them and store them in a RAM-based memory pool. This can result in a significant I/O reduction on the swap device and, in the case where decompressing from RAM is faster than reading from the swap device, can also improve workload performance.

It also has support for evicting swap pages that are currently compressed in zswap to the swap device on an LRU(ish) basis. This functionality makes zswap a true cache in that, once the cache is full, the oldest pages can be moved out of zswap to the swap device so newer pages can be compressed and stored in zswap.

This patch adds the zswap driver to mm/

Cc Greg Kroah-Hartman <[email protected]>
Cc Nitin Gupta <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Dan Magenheimer <[email protected]>
Cc Robert Jennings <[email protected]>
Cc Jenifer Hopper <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Larry Woodman <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Joe Perches <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Cody P Schafer <[email protected]>
Cc Hugh Dickens <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Fengguang Wu <[email protected]>

---

 mm/Kconfig  |   20 +
 mm/Makefile |    1 
 mm/zswap.c  |  943 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 964 insertions(+)
mm/Kconfig renamed from mm/Kconfig~zswap-add-to-mm +20 -0
diff -puN mm/Kconfig~zswap-add-to-mm mm/Kconfig
@@ -488,6 +488,26 @@ config ZBUD
 	  deterministic reclaim properties that make it preferable to a higher
 	  density approach when reclaim will be used.
 
+config ZSWAP
+	bool "Compressed cache for swap pages (EXPERIMENTAL)"
+	depends on FRONTSWAP && CRYPTO=y
+	select CRYPTO_LZO
+	select ZBUD
+	default n
+	help
+	  A lightweight compressed cache for swap pages.  It takes
+	  pages that are in the process of being swapped out and attempts to
+	  compress them into a dynamically allocated RAM-based memory pool.
+	  This can result in a significant I/O reduction on swap device and,
+	  in the case where decompressing from RAM is faster that swap device
+	  reads, can also improve workload performance.
+
+	  This is marked experimental because it is a new feature (as of
+	  v3.11) that interacts heavily with memory reclaim.  While these
+	  interactions don't cause any known issues on simple memory setups,
+	  they have not be fully explored on the large set of potential
+	  configurations and workloads that exist.
+
 config MEM_SOFT_DIRTY
 	bool "Track memory changes"
 	depends on CHECKPOINT_RESTORE && HAVE_ARCH_SOFT_DIRTY
mm/Makefile renamed from mm/Makefile~zswap-add-to-mm +1 -0
diff -puN mm/Makefile~zswap-add-to-mm mm/Makefile
@@ -32,6 +32,7 @@ obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.
 obj-$(CONFIG_BOUNCE)	+= bounce.o
 obj-$(CONFIG_SWAP)	+= page_io.o swap_state.o swapfile.o
 obj-$(CONFIG_FRONTSWAP)	+= frontswap.o
+obj-$(CONFIG_ZSWAP)	+= zswap.o
 obj-$(CONFIG_HAS_DMA)	+= dmapool.o
 obj-$(CONFIG_HUGETLBFS)	+= hugetlb.o
 obj-$(CONFIG_NUMA) 	+= mempolicy.o
mm/zswap.c new file +943 -0

943 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

origin.patch