Re: [PATCH v2 02/26] mm: userfault: return VM_FAULT_RETRY on signals

2019-02-21 Thread Peter Xu
On Thu, Feb 21, 2019 at 10:29:56AM -0500, Jerome Glisse wrote: > On Tue, Feb 12, 2019 at 10:56:08AM +0800, Peter Xu wrote: > > The idea comes from the upstream discussion between Linus and Andrea: > > > > https://lkml.org/lkml/2017/10/30/560 > > > > A summary to the issue: there was a special p

Re: [PATCH v2 02/26] mm: userfault: return VM_FAULT_RETRY on signals

2019-02-21 Thread Jerome Glisse
On Tue, Feb 12, 2019 at 10:56:08AM +0800, Peter Xu wrote: > The idea comes from the upstream discussion between Linus and Andrea: > > https://lkml.org/lkml/2017/10/30/560 > > A summary to the issue: there was a special path in handle_userfault() > in the past that we'll return a VM_FAULT_NOPAGE

[PATCH v2 02/26] mm: userfault: return VM_FAULT_RETRY on signals

2019-02-11 Thread Peter Xu
The idea comes from the upstream discussion between Linus and Andrea: https://lkml.org/lkml/2017/10/30/560 A summary to the issue: there was a special path in handle_userfault() in the past that we'll return a VM_FAULT_NOPAGE when we detected non-fatal signals when waiting for userfault handlin