public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] zcache: a new start for upstream
@ 2013-07-20 14:36 Bob Liu
  2013-07-20 14:36 ` [PATCH 1/2] zcache: staging: %s/ZCACHE/ZCACHE_OLD Bob Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bob Liu @ 2013-07-20 14:36 UTC (permalink / raw)
  Cc: linux-kernel, sjenning, gregkh, ngupta, minchan, konrad.wilk, rcj,
	mgorman, riel, penberg, akpm, Bob Liu

We already have zswap helps reducing the swap out/in IO operations by
compressing anon pages.
It has been merged into v3.11-rc1 together with the zbud allocation layer.

However there is another kind of pages(clean file pages) suitable for
compression as well. Upstream has already merged its frontend(cleancache).
Now we are lacking of a backend of cleancache as zswap to frontswap.

Furthermore, we need to balance the number of compressed anon and file pages,
E.g. it's unfair to normal file pages if zswap pool occupies too much memory for
the storage of compressed anon pages.

Although the current version of zcache in staging tree has already done those
works mentioned above, the implementation is too complicated to be merged into
upstream.

What I'm looking for is a new way for zcache towards upstream.
The first change is no more staging tree.
Second is implemented a simple cleancache backend at first, which is based on
the zbud allocation same as zswap.

At the end, I hope we can combine the new cleancache backend with
zswap(frontswap backend), in order to have a generic in-kernel memory
compression solution in upstream.

Bob Liu (2):
  zcache: staging: %s/ZCACHE/ZCACHE_OLD
  mm: zcache: core functions added

 drivers/staging/zcache/Kconfig  |   12 +-
 drivers/staging/zcache/Makefile |    4 +-
 mm/Kconfig                      |   18 +
 mm/Makefile                     |    1 +
 mm/zcache.c                     |  840 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 867 insertions(+), 8 deletions(-)
 create mode 100644 mm/zcache.c

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-24 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-20 14:36 [PATCH 0/2] zcache: a new start for upstream Bob Liu
2013-07-20 14:36 ` [PATCH 1/2] zcache: staging: %s/ZCACHE/ZCACHE_OLD Bob Liu
2013-07-20 16:42   ` Greg KH
2013-07-20 14:36 ` [PATCH 2/2] mm: zcache: core functions added Bob Liu
     [not found] ` <20130722150702.GB4706@variantweb.net>
2013-07-24 13:52   ` [PATCH 0/2] zcache: a new start for upstream Bob Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox