Re: [PATCH 3/5] mm: compaction: detect when scanners meet in isolate_freepages

2013-11-26 Thread Vlastimil Babka
On 11/26/2013 11:45 AM, Mel Gorman wrote: > On Mon, Nov 25, 2013 at 03:26:08PM +0100, Vlastimil Babka wrote: >> Compaction of a zone is finished when the migrate scanner (which begins at >> the >> zone's lowest pfn) meets the free page scanner (which begins at the zone's >> highest pfn). This is d

Re: [PATCH 3/5] mm: compaction: detect when scanners meet in isolate_freepages

2013-11-26 Thread Mel Gorman
On Mon, Nov 25, 2013 at 03:26:08PM +0100, Vlastimil Babka wrote: > Compaction of a zone is finished when the migrate scanner (which begins at the > zone's lowest pfn) meets the free page scanner (which begins at the zone's > highest pfn). This is detected in compact_zone() and in the case of direct

[PATCH 3/5] mm: compaction: detect when scanners meet in isolate_freepages

2013-11-25 Thread Vlastimil Babka
Compaction of a zone is finished when the migrate scanner (which begins at the zone's lowest pfn) meets the free page scanner (which begins at the zone's highest pfn). This is detected in compact_zone() and in the case of direct compaction, the compact_blockskip_flush flag is set so that kswapd lat