Messages in this thread | | | From | "Kirill A. Shutemov" <> | Subject | [PATCH 0/4] thp: simplify freeze_page() and unfreeze_page() | Date | Wed, 3 Feb 2016 18:14:15 +0300 |
| |
This patchset rewrites freeze_page() and unfreeze_page() using try_to_unmap() and remove_migration_ptes(). Result is much simplier, but somewhat slower. See the last patch for details.
I did quick sanity check. More testing is required.
Any comments?
Kirill A. Shutemov (4): rmap: introduce rmap_walk_locked() rmap: extend try_to_unmap() to be usable by split_huge_page() mm: make remove_migration_ptes() beyond mm/migration.c thp: rewrite freeze_page()/unfreeze_page() with generic rmap walkers
include/linux/huge_mm.h | 7 ++ include/linux/rmap.h | 6 ++ mm/huge_memory.c | 219 ++++++------------------------------------------ mm/migrate.c | 13 +-- mm/rmap.c | 49 ++++++++--- 5 files changed, 83 insertions(+), 211 deletions(-)
-- 2.7.0
| |