Skip to contentSkip to conversation

migrate_pages-split-unmap_and_move-to-_unmap-and-_move.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Feb 17, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: migrate_pages: split unmap_and_move() to _unmap() and _move()
has been removed from the -mm tree. Its filename was
migrate_pages-split-unmap_and_move-to-_unmap-and-_move.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Huang Ying <[email protected]>
Subject: migrate_pages: split unmap_and_move() to _unmap() and _move()
Date: Mon, 13 Feb 2023 20:34:39 +0800

This is a preparation patch to batch the folio unmapping and moving.

In this patch, unmap_and_move() is split to migrate_folio_unmap() and migrate_folio_move(). So, we can batch _unmap() and _move() in different loops later. To pass some information between unmap and move, the original unused dst->mapping and dst->private are used.

---

include/linux/migrate.h renamed from include/linux/migrate.h~migrate_pages-split-unmap_and_move-to-_unmap-and-_move +1 -0
@@ -18,6 +18,7 @@ struct migration_target_control;
  * - zero on page migration success;
  */
 #define MIGRATEPAGE_SUCCESS		0
+#define MIGRATEPAGE_UNMAP		1
 
 /**
  * struct movable_operations - Driver page migration
mm/migrate.c renamed from mm/migrate.c~migrate_pages-split-unmap_and_move-to-_unmap-and-_move +128 -41

245 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are