[folded-merged] mm-migration-make-isolate_movable_page-return-int-type-v6.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/migration: make isolate_movable_page() return int type
has been removed from the -mm tree.  Its filename was
     mm-migration-make-isolate_movable_page-return-int-type-v6.patch

This patch was dropped because it was folded into mm-migration-make-isolate_movable_page-return-int-type.patch

------------------------------------------------------
From: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
Subject: mm/migration: make isolate_movable_page() return int type

Link: http://lkml.kernel.org/r/1486108770-630-2-git-send-email-xieyisheng1@xxxxxxxxxx
Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/migrate.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff -puN mm/migrate.c~mm-migration-make-isolate_movable_page-return-int-type-v6 mm/migrate.c
--- a/mm/migrate.c~mm-migration-make-isolate_movable_page-return-int-type-v6
+++ a/mm/migrate.c
@@ -76,7 +76,6 @@ int migrate_prep_local(void)
 
 int isolate_movable_page(struct page *page, isolate_mode_t mode)
 {
-	int ret = -EBUSY;
 	struct address_space *mapping;
 
 	/*
@@ -96,10 +95,8 @@ int isolate_movable_page(struct page *pa
 	 * assumes anybody doesn't touch PG_lock of newly allocated page
 	 * so unconditionally grapping the lock ruins page's owner side.
 	 */
-	if (unlikely(!__PageMovable(page))) {
-		ret = -EINVAL;
+	if (unlikely(!__PageMovable(page)))
 		goto out_putpage;
-	}
 	/*
 	 * As movable pages are not isolated from LRU lists, concurrent
 	 * compaction threads can race against page migration functions
@@ -135,7 +132,7 @@ out_no_isolated:
 out_putpage:
 	put_page(page);
 out:
-	return ret;
+	return -EBUSY;
 }
 
 /* It should be called on page which is PG_movable */
_

Patches currently in -mm which might be from xieyisheng1@xxxxxxxxxx are

mm-migration-make-isolate_movable_page-return-int-type.patch
mm-migration-make-isolate_movable_page-always-defined.patch
hwpoison-soft-offlining-for-non-lru-movable-page.patch
mm-hotplug-enable-memory-hotplug-for-non-lru-movable-pages.patch
mm-zsmalloc-remove-redundant-setpageprivate2-in-create_page_chain.patch
mm-zsmalloc-fix-comment-in-zsmalloc.patch
mm-balloon-umount-balloon_mnt-when-remove-vb-device.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux