mm: swap: zswap/zcache writeback supporting
cover 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>