Re: [PATCH 4/4] mm/compaction: stop the isolation when we isolate enough freepage

2014-12-10 Thread Joonsoo Kim
On Wed, Dec 10, 2014 at 04:19:13PM +0100, Vlastimil Babka wrote: > On 12/10/2014 08:00 AM, Joonsoo Kim wrote: > >On Mon, Dec 08, 2014 at 10:59:17AM +0100, Vlastimil Babka wrote: > >>On 12/08/2014 08:16 AM, Joonsoo Kim wrote: > >>>From: Joonsoo Kim > >>> > >>>Currently, freepage isolation in one pa

Re: [PATCH 4/4] mm/compaction: stop the isolation when we isolate enough freepage

2014-12-10 Thread Vlastimil Babka
On 12/10/2014 08:00 AM, Joonsoo Kim wrote: On Mon, Dec 08, 2014 at 10:59:17AM +0100, Vlastimil Babka wrote: On 12/08/2014 08:16 AM, Joonsoo Kim wrote: From: Joonsoo Kim Currently, freepage isolation in one pageblock doesn't consider how many freepages we isolate. When I traced flow of compact

Re: [PATCH 4/4] mm/compaction: stop the isolation when we isolate enough freepage

2014-12-09 Thread Joonsoo Kim
On Mon, Dec 08, 2014 at 10:59:17AM +0100, Vlastimil Babka wrote: > On 12/08/2014 08:16 AM, Joonsoo Kim wrote: > >From: Joonsoo Kim > > > >Currently, freepage isolation in one pageblock doesn't consider how many > >freepages we isolate. When I traced flow of compaction, compaction > >sometimes isol

Re: [PATCH 4/4] mm/compaction: stop the isolation when we isolate enough freepage

2014-12-08 Thread Vlastimil Babka
On 12/08/2014 08:16 AM, Joonsoo Kim wrote: From: Joonsoo Kim Currently, freepage isolation in one pageblock doesn't consider how many freepages we isolate. When I traced flow of compaction, compaction sometimes isolates more than 256 freepages to migrate just 32 pages. In this patch, freepage

[PATCH 4/4] mm/compaction: stop the isolation when we isolate enough freepage

2014-12-07 Thread Joonsoo Kim
From: Joonsoo Kim Currently, freepage isolation in one pageblock doesn't consider how many freepages we isolate. When I traced flow of compaction, compaction sometimes isolates more than 256 freepages to migrate just 32 pages. In this patch, freepage isolation is stopped at the point that we hav