mm-compaction-add-per-zone-migration-pfn-cache-for-async-compaction.patch removed from -mm tree
Subsystems (4)
[email protected]
maintainerSubject: [merged] mm-compaction-add-per-zone-migration-pfn-cache-for-async-compaction.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 12:51:45 -0700
The patch titled
Subject: mm, compaction: add per-zone migration pfn cache for async compaction
has been removed from the -mm tree. Its filename was
mm-compaction-add-per-zone-migration-pfn-cache-for-async-compaction.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: David Rientjes <[email protected]>
Subject: mm, compaction: add per-zone migration pfn cache for async compaction
Each zone has a cached migration scanner pfn for memory compaction so that subsequent calls to memory compaction can start where the previous call left off.
Currently, the compaction migration scanner only updates the per-zone cached pfn when pageblocks were not skipped for async compaction. This creates a dependency on calling sync compaction to avoid having subsequent calls to async compaction from scanning an enormous amount of non-MOVABLE pageblocks each time it is called. On large machines, this could be potentially very expensive.
This patch adds a per-zone cached migration scanner pfn only for async compaction. It is updated everytime a pageblock has been scanned in its entirety and when no pages from it were successfully isolated. The cached migration scanner pfn for sync compaction is updated only when called for sync compaction.
---
include/linux/mmzone.h | 5 +- mm/compaction.c | 66 +++++++++++++++++++++++---------------- 2 files changed, 43 insertions(+), 28 deletions(-)
include/linux/mmzone.h renamed from include/linux/mmzone.h~mm-compaction-add-per-zone-migration-pfn-cache-for-async-compaction +3 -2
@@ -360,9 +360,10 @@ struct zone {/* Set to true when the PG_migrate_skip bits should be cleared */ bool compact_blockskip_flush; -/* pfns where compaction scanners should start */ +/* pfn where compaction free scanner should start */ unsigned long compact_cached_free_pfn; -unsigned long compact_cached_migrate_pfn; +/* pfn where async and sync compaction migration scanner should start */ +unsigned long compact_cached_migrate_pfn[2 ];#endif #ifdef CONFIG_MEMORY_HOTPLUG /* see spanned/present_pages for more description */
mm/compaction.c renamed from mm/compaction.c~mm-compaction-add-per-zone-migration-pfn-cache-for-async-compaction +40 -26
137 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
origin.patch
mm-utilc-add-kstrimdup.patch
linux-next.patch