Re: [PATCH 1/2] mm/compaction: make isolate_freepages start at pageblock boundary

2014-04-16 Thread Minchan Kim
On Tue, Apr 15, 2014 at 11:18:26AM +0200, Vlastimil Babka wrote: > The compaction freepage scanner implementation in isolate_freepages() starts > by taking the current cc->free_pfn value as the first pfn. In a for loop, it > scans from this first pfn to the end of the pageblock, and then subtracts

Re: [PATCH 1/2] mm/compaction: make isolate_freepages start at pageblock boundary

2014-04-16 Thread Rik van Riel
On 04/15/2014 05:18 AM, Vlastimil Babka wrote: The compaction freepage scanner implementation in isolate_freepages() starts by taking the current cc->free_pfn value as the first pfn. In a for loop, it scans from this first pfn to the end of the pageblock, and then subtracts pageblock_nr_pages fro

Re: [PATCH 1/2] mm/compaction: make isolate_freepages start at pageblock boundary

2014-04-15 Thread Joonsoo Kim
On Tue, Apr 15, 2014 at 11:18:26AM +0200, Vlastimil Babka wrote: > The compaction freepage scanner implementation in isolate_freepages() starts > by taking the current cc->free_pfn value as the first pfn. In a for loop, it > scans from this first pfn to the end of the pageblock, and then subtracts

[PATCH 1/2] mm/compaction: make isolate_freepages start at pageblock boundary

2014-04-15 Thread Vlastimil Babka
The compaction freepage scanner implementation in isolate_freepages() starts by taking the current cc->free_pfn value as the first pfn. In a for loop, it scans from this first pfn to the end of the pageblock, and then subtracts pageblock_nr_pages from the first pfn to obtain the first pfn for the n