Re: [PATCH] mm, compaction: make fast_isolate_freepages() stay within zone

2021-02-18 Thread Vlastimil Babka
On 2/17/21 6:33 PM, Vlastimil Babka wrote: > Compaction always operates on pages from a single given zone when isolating > both pages to migrate and freepages. Pageblock boundaries are intersected with > zone boundaries to be safe in case zone starts or ends in the middle of > pageblock. The use

Re: [PATCH] mm, compaction: make fast_isolate_freepages() stay within zone

2021-02-17 Thread Mel Gorman
On Wed, Feb 17, 2021 at 06:33:00PM +0100, Vlastimil Babka wrote: > Compaction always operates on pages from a single given zone when isolating > both pages to migrate and freepages. Pageblock boundaries are intersected with > zone boundaries to be safe in case zone starts or ends in the middle of

Re: [PATCH] mm, compaction: make fast_isolate_freepages() stay within zone

2021-02-17 Thread David Rientjes
On Wed, 17 Feb 2021, Vlastimil Babka wrote: > Compaction always operates on pages from a single given zone when isolating > both pages to migrate and freepages. Pageblock boundaries are intersected with > zone boundaries to be safe in case zone starts or ends in the middle of > pageblock. The use

[PATCH] mm, compaction: make fast_isolate_freepages() stay within zone

2021-02-17 Thread Vlastimil Babka
Compaction always operates on pages from a single given zone when isolating both pages to migrate and freepages. Pageblock boundaries are intersected with zone boundaries to be safe in case zone starts or ends in the middle of pageblock. The use of pageblock_pfn_to_page() protects against