Re: [PATCH 14/25] mm, compaction: Avoid rescanning the same pageblock multiple times

2019-01-17 Thread Mel Gorman
On Thu, Jan 17, 2019 at 04:16:54PM +0100, Vlastimil Babka wrote: > On 1/4/19 1:50 PM, Mel Gorman wrote: > > Pageblocks are marked for skip when no pages are isolated after a scan. > > However, it's possible to hit corner cases where the migration scanner > > gets stuck near the boundary between

Re: [PATCH 14/25] mm, compaction: Avoid rescanning the same pageblock multiple times

2019-01-17 Thread Vlastimil Babka
On 1/4/19 1:50 PM, Mel Gorman wrote: > Pageblocks are marked for skip when no pages are isolated after a scan. > However, it's possible to hit corner cases where the migration scanner > gets stuck near the boundary between the source and target scanner. Due > to pages being migrated in blocks of

[PATCH 14/25] mm, compaction: Avoid rescanning the same pageblock multiple times

2019-01-04 Thread Mel Gorman
Pageblocks are marked for skip when no pages are isolated after a scan. However, it's possible to hit corner cases where the migration scanner gets stuck near the boundary between the source and target scanner. Due to pages being migrated in blocks of COMPACT_CLUSTER_MAX, pages that are migrated