Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-25 Thread Minchan Kim
On Mon, Sep 24, 2012 at 09:52:38AM +0100, Mel Gorman wrote: > On Fri, Sep 21, 2012 at 02:35:57PM -0700, Andrew Morton wrote: > > On Fri, 21 Sep 2012 11:46:20 +0100 > > Mel Gorman wrote: > > > > > Compactions free scanner acquires the zone->lock when checking for > > > PageBuddy > > > pages and i

Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-25 Thread Minchan Kim
On Fri, Sep 21, 2012 at 11:46:20AM +0100, Mel Gorman wrote: > Compactions free scanner acquires the zone->lock when checking for PageBuddy > pages and isolating them. It does this even if there are no PageBuddy pages > in the range. > > This patch defers acquiring the zone lock for as long as poss

Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-24 Thread Mel Gorman
On Fri, Sep 21, 2012 at 02:35:57PM -0700, Andrew Morton wrote: > On Fri, 21 Sep 2012 11:46:20 +0100 > Mel Gorman wrote: > > > Compactions free scanner acquires the zone->lock when checking for PageBuddy > > pages and isolating them. It does this even if there are no PageBuddy pages > > in the ran

Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-21 Thread Andrew Morton
On Fri, 21 Sep 2012 11:46:20 +0100 Mel Gorman wrote: > Compactions free scanner acquires the zone->lock when checking for PageBuddy > pages and isolating them. It does this even if there are no PageBuddy pages > in the range. > > This patch defers acquiring the zone lock for as long as possible.

Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-21 Thread Rafael Aquini
On Fri, Sep 21, 2012 at 11:46:20AM +0100, Mel Gorman wrote: > Compactions free scanner acquires the zone->lock when checking for PageBuddy > pages and isolating them. It does this even if there are no PageBuddy pages > in the range. > > This patch defers acquiring the zone lock for as long as poss

[PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-21 Thread Mel Gorman
Compactions free scanner acquires the zone->lock when checking for PageBuddy pages and isolating them. It does this even if there are no PageBuddy pages in the range. This patch defers acquiring the zone lock for as long as possible. In the event there are no free pages in the pageblock then the l