Re: [PATCH 13/25] mm, compaction: Use free lists to quickly locate a migration target

2019-01-17 Thread Mel Gorman
On Thu, Jan 17, 2019 at 03:36:08PM +0100, Vlastimil Babka wrote: > > /* Reorder the free list to reduce repeated future searches */ > > static void > > -move_freelist_tail(struct list_head *freelist, struct page *freepage) > > +move_freelist_head(struct list_head *freelist, struct page

Re: [PATCH 13/25] mm, compaction: Use free lists to quickly locate a migration target

2019-01-17 Thread Vlastimil Babka
On 1/4/19 1:49 PM, Mel Gorman wrote: > Similar to the migration scanner, this patch uses the free lists to quickly > locate a migration target. The search is different in that lower orders > will be searched for a suitable high PFN if necessary but the search > is still bound. This is justified on

[PATCH 13/25] mm, compaction: Use free lists to quickly locate a migration target

2019-01-04 Thread Mel Gorman
Similar to the migration scanner, this patch uses the free lists to quickly locate a migration target. The search is different in that lower orders will be searched for a suitable high PFN if necessary but the search is still bound. This is justified on the grounds that the free scanner typically