Re: [PATCH v2 04/26] mm: allow VM_FAULT_RETRY for multiple times

2019-02-20 Thread Peter Xu
On Wed, Feb 13, 2019 at 11:34:44AM +0800, Peter Xu wrote: > On Tue, Feb 12, 2019 at 10:56:10AM +0800, Peter Xu wrote: > > [...] > > > @@ -1351,7 +1351,7 @@ EXPORT_SYMBOL_GPL(__lock_page_killable); > > int __lock_page_or_retry(struct page *page, struct mm_struct *mm, > > unsi

Re: [PATCH v2 04/26] mm: allow VM_FAULT_RETRY for multiple times

2019-02-12 Thread Peter Xu
On Tue, Feb 12, 2019 at 10:56:10AM +0800, Peter Xu wrote: [...] > @@ -1351,7 +1351,7 @@ EXPORT_SYMBOL_GPL(__lock_page_killable); > int __lock_page_or_retry(struct page *page, struct mm_struct *mm, >unsigned int flags) > { > - if (flags & FAULT_FLAG_ALLOW_RETRY) { > +