Re: [PATCH 2/2] s390/mm: allow gmap code to retry on faulting in guest memory

2015-11-19 Thread Dominik Dingel
On Thu, 19 Nov 2015 09:25:24 +0100 Christian Borntraeger wrote: > On 11/19/2015 09:18 AM, Martin Schwidefsky wrote: > > On Thu, 19 Nov 2015 00:49:58 +0100 > > Dominik Dingel wrote: > > > >> The userfaultfd does need FAULT_FLAG_ALLOW_RETRY to not return > >> VM_FAULT_SIGBUS. So we improve the g

Re: [PATCH 2/2] s390/mm: allow gmap code to retry on faulting in guest memory

2015-11-19 Thread Christian Borntraeger
On 11/19/2015 09:18 AM, Martin Schwidefsky wrote: > On Thu, 19 Nov 2015 00:49:58 +0100 > Dominik Dingel wrote: > >> The userfaultfd does need FAULT_FLAG_ALLOW_RETRY to not return >> VM_FAULT_SIGBUS. So we improve the gmap code to handle one >> VM_FAULT_RETRY. >> >> Signed-off-by: Dominik Dingel

Re: [PATCH 2/2] s390/mm: allow gmap code to retry on faulting in guest memory

2015-11-19 Thread Martin Schwidefsky
On Thu, 19 Nov 2015 00:49:58 +0100 Dominik Dingel wrote: > The userfaultfd does need FAULT_FLAG_ALLOW_RETRY to not return > VM_FAULT_SIGBUS. So we improve the gmap code to handle one > VM_FAULT_RETRY. > > Signed-off-by: Dominik Dingel > --- > arch/s390/mm/pgtable.c | 28 ++

[PATCH 2/2] s390/mm: allow gmap code to retry on faulting in guest memory

2015-11-18 Thread Dominik Dingel
The userfaultfd does need FAULT_FLAG_ALLOW_RETRY to not return VM_FAULT_SIGBUS. So we improve the gmap code to handle one VM_FAULT_RETRY. Signed-off-by: Dominik Dingel --- arch/s390/mm/pgtable.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/ar