Skip to contentSkip to conversation

mm-compaction-clean-up-unused-code-lines.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 5, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-compaction-clean-up-unused-code-lines.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],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 12:49:57 -0700

The patch titled
Subject: mm/compaction: clean up unused code lines
has been removed from the -mm tree. Its filename was
mm-compaction-clean-up-unused-code-lines.patch

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

------------------------------------------------------
From: Heesub Shin <[email protected]>
Subject: mm/compaction: clean up unused code lines

Remove code lines currently not in use or never called.

Cc Dongjun Shin <[email protected]>
Cc Sunghwan Yun <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Bartlomiej Zolnierkiewicz <[email protected]>
Cc Michal Nazarewicz <[email protected]>
Cc Naoya Horiguchi <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Rik van Riel <[email protected]>
Cc Dongjun Shin <[email protected]>
Cc Sunghwan Yun <[email protected]>

---

 mm/compaction.c |   10 ----------
 1 file changed, 10 deletions(-)
mm/compaction.c renamed from mm/compaction.c~mm-compaction-clean-up-unused-code-lines +0 -10
diff -puN mm/compaction.c~mm-compaction-clean-up-unused-code-lines mm/compaction.c
@@ -208,12 +208,6 @@ static bool compact_checklock_irqsave(sp
 	return true;
 }
 
-static inline bool compact_trylock_irqsave(spinlock_t *lock,
-			unsigned long *flags, struct compact_control *cc)
-{
-	return compact_checklock_irqsave(lock, flags, false, cc);
-}
-
 /* Returns true if the page is within a block suitable for migration to */
 static bool suitable_migration_target(struct page *page)
 {
@@ -736,7 +730,6 @@ static void isolate_freepages(struct zon
 			continue;
 
 		/* Found a block suitable for isolating free pages from */
-		isolated = 0;
 
 		/*
 		 * Take care when isolating in last pageblock of a zone which
@@ -1165,9 +1158,6 @@ static void __compact_pgdat(pg_data_t *p
 			if (zone_watermark_ok(zone, cc->order,
 						low_wmark_pages(zone), 0, 0))
 				compaction_defer_reset(zone, cc->order, false);
-			/* Currently async compaction is never deferred. */
-			else if (cc->sync)
-				defer_compaction(zone, cc->order);
 		}
 
 		VM_BUG_ON(!list_empty(&cc->freepages));

_

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

origin.patch
linux-next.patch