Skip to content

RFC mm: proof-of-concept memory compaction without isolation

Konstantin Khlebnikov linux-mm 1 version In review

Get series with b4
b4 am 20150615073926.18112.59207.stgit@zurg

Versions newest first

  1. v0 RFC Latest6 patches 1 replyIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pagevec: segmented page vectorsinclude/linux/pagevec.h mm/swap.c+87 -50 replies
2/6mm/migrate: move putback of old page out of unmap_and_movemm/migrate.c+14 -200 replies
3/6mm/cma: repalce reclaim_clean_pages_from_list with try_to_reclaim_pageinclude/linux/mm.h mm/filemap.c mm/internal.h +2 more+35 -430 replies
4/6mm/migrate: page migration without page isolationinclude/linux/migrate.h mm/migrate.c+102 -00 replies
5/6mm/compaction: use migration without isolationinclude/trace/events/compaction.h mm/compaction.c mm/internal.h +2 more+142 -1100 replies
6/6mm/migrate: preserve lru order if possiblemm/internal.h mm/migrate.c mm/swap.c+31 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.

Read the v0 thread

Cover letter [PATCH RFC v0 0/6] mm: proof-of-concept memory compaction without isolation

This is incomplete implementation of non-isolating memory migration and compaction. It's alive!

The main reason -- it can preserve lru order during compaction.

Also it makes implementation of migration for various types of pages: zram, balloon, ptes, kernel stacks [ Why not? I've already migrated them accidentally and kernel have crashed in very funny places ] much easier: owner just have to set page->mappingw with valid method a_ops->migratepage.

---

Konstantin Khlebnikov (6):
pagevec: segmented page vectors
mm/migrate: move putback of old page out of unmap_and_move mm/cma: repalce reclaim_clean_pages_from_list with try_to_reclaim_page mm/migrate: page migration without page isolation mm/compaction: use migration without isolation
mm/migrate: preserve lru order if possible

 include/linux/migrate.h           |    4 +
 include/linux/mm.h                |    1 
 include/linux/pagevec.h           |   48 ++++++++-
 include/trace/events/compaction.h |   12 +-
 mm/compaction.c                   |  205 +++++++++++++++++++++----------------
 mm/filemap.c                      |   20 ++++
 mm/internal.h                     |   12 +-
 mm/migrate.c                      |  141 +++++++++++++++++++++----
 mm/page_alloc.c                   |   35 ++++--
 mm/swap.c                         |   69 ++++++++++++
 mm/vmscan.c                       |   42 +-------
 11 files changed, 410 insertions(+), 179 deletions(-)

--
Konstantin

--
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>