linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Bob Liu <lliubbo@gmail.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, minchan@kernel.org,
	sjenning@linux.vnet.ibm.com, rcj@linux.vnet.ibm.com,
	ngupta@vflare.org, konrad.wilk@oracle.com,
	dan.magenheimer@oracle.com, Bob Liu <bob.liu@oracle.com>
Subject: [PATCH 0/2] mm: swap: zswap/zcache writeback supporting
Date: Tue,  2 Apr 2013 11:49:46 +0800	[thread overview]
Message-ID: <1364874586-833-1-git-send-email-bob.liu@oracle.com> (raw)

Hi Andrew,

Would you please consider to merge these patches.
It's from Seth Jennings and the original goal was supporting writeback a page
from frontswap backend to the swap device, so that pages can be evicted.

Now this identical patch is needed for zcache, the dependent code is
already in 3.9(marked as broken,see config ZCACHE_WRITEBACK in
drivers/staging/zcache).
So it would be nice to get this small mm changes to be merged in 3.10.

The original post from Seth:
https://lkml.org/lkml/2013/3/6/344
https://lkml.org/lkml/2013/3/6/392

I rebased them to mmotm-2013-03-26-15-09 plus fixing a small issue from
chechpatch.pl
WARNING: externs should be avoided in .c files
#56: FILE: mm/page_io.c:182:
+int __swap_writepage(struct page *page, struct writeback_control *wbc);

Seth Jennings (2):
  mm: break up swap_writepage() for frontswap backends
  mm: allow for outstanding swap writeback accounting

 include/linux/swap.h |    4 ++++
 mm/page_io.c         |   22 +++++++++++++++++-----
 mm/swap_state.c      |    2 +-
 3 files changed, 22 insertions(+), 6 deletions(-)

-- 
1.7.10.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

                 reply	other threads:[~2013-04-02  3:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1364874586-833-1-git-send-email-bob.liu@oracle.com \
    --to=lliubbo@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=bob.liu@oracle.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    --cc=ngupta@vflare.org \
    --cc=rcj@linux.vnet.ibm.com \
    --cc=sjenning@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).