Skip to contentSkip to conversation

mm-migrate-add-comment-about-permanent-failure-path.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 22, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-migrate-add-comment-about-permanent-failure-path.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:15:04 -0800

The patch titled
Subject: mm/migrate: add comment about permanent failure path
has been removed from the -mm tree. Its filename was
mm-migrate-add-comment-about-permanent-failure-path.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Naoya Horiguchi <[email protected]>
Subject: mm/migrate: add comment about permanent failure path

Let's add a comment about where the failed page goes to, which makes code more readable.

---

 mm/migrate.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
mm/migrate.c renamed from mm/migrate.c~mm-migrate-add-comment-about-permanent-failure-path +6 -1
diff -puN mm/migrate.c~mm-migrate-add-comment-about-permanent-failure-path mm/migrate.c
@@ -1125,7 +1125,12 @@ int migrate_pages(struct list_head *from
 				nr_succeeded++;
 				break;
 			default:
-				/* Permanent failure */
+				/*
+				 * Permanent failure (-EBUSY, -ENOSYS, etc.):
+				 * unlike -EAGAIN case, the failed page is
+				 * removed from migration page list and not
+				 * retried in the next outer loop.
+				 */
 				nr_failed++;
 				break;
 			}

_

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

origin.patch fs-proc-pagec-add-pageanon-check-to-surely-detect-thp.patch mm-memory-failurec-shift-page-lock-from-head-page-to-tail-page-after-thp-split.patch mm-new_vma_page-cannot-see-null-vma-for-hugetlb-pages.patch mm-do_mincore-cleanup.patch mm-migratec-fix-setting-of-cpupid-on-page-migration-twice-against-normal-page.patch