Re: [PATCH 06/14] mm, migrate: Immediately fail migration of a page with no migration handler

2018-12-20 Thread Mel Gorman
On Thu, Dec 20, 2018 at 11:44:57AM -0800, Yang Shi wrote: > On Fri, Dec 14, 2018 at 3:03 PM Mel Gorman > wrote: > > > > Pages with no migration handler use a fallback hander which sometimes > > works and sometimes persistently fails such as blockdev pages. Migration > > A minor correction. The

Re: [PATCH 06/14] mm, migrate: Immediately fail migration of a page with no migration handler

2018-12-20 Thread Yang Shi
On Fri, Dec 14, 2018 at 3:03 PM Mel Gorman wrote: > > Pages with no migration handler use a fallback hander which sometimes > works and sometimes persistently fails such as blockdev pages. Migration A minor correction. The above statement sounds not accurate anymore since Jan Kara had patch

Re: [PATCH 06/14] mm, migrate: Immediately fail migration of a page with no migration handler

2018-12-18 Thread Mel Gorman
On Tue, Dec 18, 2018 at 10:06:31AM +0100, Vlastimil Babka wrote: > On 12/15/18 12:03 AM, Mel Gorman wrote: > > Pages with no migration handler use a fallback hander which sometimes > > works and sometimes persistently fails such as blockdev pages. Migration > > will retry a number of times on

Re: [PATCH 06/14] mm, migrate: Immediately fail migration of a page with no migration handler

2018-12-18 Thread Vlastimil Babka
On 12/15/18 12:03 AM, Mel Gorman wrote: > Pages with no migration handler use a fallback hander which sometimes > works and sometimes persistently fails such as blockdev pages. Migration > will retry a number of times on these persistent pages which is wasteful > during compaction. This patch will

[PATCH 06/14] mm, migrate: Immediately fail migration of a page with no migration handler

2018-12-14 Thread Mel Gorman
Pages with no migration handler use a fallback hander which sometimes works and sometimes persistently fails such as blockdev pages. Migration will retry a number of times on these persistent pages which is wasteful during compaction. This patch will fail migration immediately unless the caller is