Skip to content

mm: swap: zswap/zcache writeback supporting

Bob Liu linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: break up swap_writepage() for frontswap backendsinclude/linux/swap.h mm/page_io.c mm/swap_state.c+14 -41 reply
2/2mm: allow for outstanding swap writeback accountinginclude/linux/swap.h mm/page_io.c+8 -52 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMinchan KimDan Magenheimer
1/2A-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mm: swap: zswap/zcache writeback supporting

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(-)
Signature · 7 lines
1.7.10.4

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