Re: [PATCH 08/14] mm, compaction: skip over holes in __reset_isolation_suitable

2017-05-19 Thread Vlastimil Babka
On 05/15/2017 10:58 AM, Michal Hocko wrote: > From: Michal Hocko > > __reset_isolation_suitable walks the whole zone pfn range and it tries > to jump over holes by checking the zone for each page. It might still > stumble over offline pages, though. Skip those by checking >

Re: [PATCH 08/14] mm, compaction: skip over holes in __reset_isolation_suitable

2017-05-19 Thread Vlastimil Babka
On 05/15/2017 10:58 AM, Michal Hocko wrote: > From: Michal Hocko > > __reset_isolation_suitable walks the whole zone pfn range and it tries > to jump over holes by checking the zone for each page. It might still > stumble over offline pages, though. Skip those by checking > pfn_to_online_page()

[PATCH 08/14] mm, compaction: skip over holes in __reset_isolation_suitable

2017-05-15 Thread Michal Hocko
From: Michal Hocko __reset_isolation_suitable walks the whole zone pfn range and it tries to jump over holes by checking the zone for each page. It might still stumble over offline pages, though. Skip those by checking pfn_to_online_page() Signed-off-by: Michal Hocko

[PATCH 08/14] mm, compaction: skip over holes in __reset_isolation_suitable

2017-05-15 Thread Michal Hocko
From: Michal Hocko __reset_isolation_suitable walks the whole zone pfn range and it tries to jump over holes by checking the zone for each page. It might still stumble over offline pages, though. Skip those by checking pfn_to_online_page() Signed-off-by: Michal Hocko --- mm/compaction.c | 5