[folded-merged] mm-migrate-support-non-lru-movable-page-migration-fix.patch removed from -mm tree

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

 



The patch titled
     Subject: mm/compaction: remove local variable is_lru
has been removed from the -mm tree.  Its filename was
     mm-migrate-support-non-lru-movable-page-migration-fix.patch

This patch was dropped because it was folded into mm-migrate-support-non-lru-movable-page-migration.patch

------------------------------------------------------
From: Ganesh Mahendran <opensource.ganesh@xxxxxxxxx>
Subject: mm/compaction: remove local variable is_lru

local varialbe is_lru was used for tracking non-lru pages(such as
balloon pages).

But Minchan Kim's patch [1] introduced a common framework
for non-lru page migration and moved the compound pages
check before non-lru movable pages check.

So there is no need to use local variable is_lru.

[1] https://lkml.org/lkml/2016/5/31/932

Link: http://lkml.kernel.org/r/20160618014841.GA7422@leo-test
Signed-off-by: Ganesh Mahendran <opensource.ganesh@xxxxxxxxx>
Acked-by: Hillf Danton <hillf.zj@xxxxxxxxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/compaction.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff -puN mm/compaction.c~mm-migrate-support-non-lru-movable-page-migration-fix mm/compaction.c
--- a/mm/compaction.c~mm-migrate-support-non-lru-movable-page-migration-fix
+++ a/mm/compaction.c
@@ -708,7 +708,6 @@ isolate_migratepages_block(struct compac
 
 	/* Time to isolate some pages for migration */
 	for (; low_pfn < end_pfn; low_pfn++) {
-		bool is_lru;
 
 		if (skip_on_failure && low_pfn >= next_skip_pfn) {
 			/*
@@ -791,8 +790,7 @@ isolate_migratepages_block(struct compac
 		 * It's possible to migrate LRU and non-lru movable pages.
 		 * Skip any other type of page
 		 */
-		is_lru = PageLRU(page);
-		if (!is_lru) {
+		if (!PageLRU(page)) {
 			if (unlikely(balloon_page_movable(page))) {
 				if (balloon_page_isolate(page)) {
 					/* Successfully isolated */
_

Patches currently in -mm which might be from opensource.ganesh@xxxxxxxxx are

mm-migrate-support-non-lru-movable-page-migration.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