Re: [PATCH 03/15] mm: compaction: introduce isolate_migratepages_range().

2012-01-30 Thread Mel Gorman
On Mon, Jan 30, 2012 at 01:42:50PM +0100, Michal Nazarewicz wrote: > >On Thu, Jan 26, 2012 at 10:00:45AM +0100, Marek Szyprowski wrote: > >>From: Michal Nazarewicz > >>@@ -313,7 +316,7 @@ static isolate_migrate_t isolate_migratepages(struct > >>zone *zone, > >>} else if (!locked) > >>

Re: [PATCH 03/15] mm: compaction: introduce isolate_migratepages_range().

2012-01-30 Thread Michal Nazarewicz
On Thu, Jan 26, 2012 at 10:00:45AM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz @@ -313,7 +316,7 @@ static isolate_migrate_t isolate_migratepages(struct zone *zone, } else if (!locked) spin_lock_irq(&zone->lru_lock); - if (!pfn_va

Re: [PATCH 03/15] mm: compaction: introduce isolate_migratepages_range().

2012-01-30 Thread Mel Gorman
On Thu, Jan 26, 2012 at 10:00:45AM +0100, Marek Szyprowski wrote: > From: Michal Nazarewicz > > This commit introduces isolate_migratepages_range() function which > extracts functionality from isolate_migratepages() so that it can be > used on arbitrary PFN ranges. > > isolate_migratepages() fun

[PATCH 03/15] mm: compaction: introduce isolate_migratepages_range().

2012-01-26 Thread Marek Szyprowski
From: Michal Nazarewicz This commit introduces isolate_migratepages_range() function which extracts functionality from isolate_migratepages() so that it can be used on arbitrary PFN ranges. isolate_migratepages() function is implemented as a simple wrapper around isolate_migratepages_range(). S