Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-08-27 Thread Souptick Joarder
On Mon, Aug 27, 2018 at 11:35 PM Matthew Wilcox wrote: > > On Mon, Aug 27, 2018 at 09:01:48PM +0530, Souptick Joarder wrote: > > On Fri, Aug 3, 2018 at 6:44 PM Thomas Gleixner wrote: > > > > > > On Fri, 3 Aug 2018, Souptick Joarder wrote: > > > > On Mon, Jul 16, 2018 at 2:47 PM, Thomas Gleixner

Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-08-27 Thread Matthew Wilcox
On Mon, Aug 27, 2018 at 09:01:48PM +0530, Souptick Joarder wrote: > On Fri, Aug 3, 2018 at 6:44 PM Thomas Gleixner wrote: > > > > On Fri, 3 Aug 2018, Souptick Joarder wrote: > > > On Mon, Jul 16, 2018 at 2:47 PM, Thomas Gleixner > > > wrote: > > > > On Tue, 3 Jul 2018, Matthew Wilcox wrote: > >

Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-08-27 Thread Souptick Joarder
On Fri, Aug 3, 2018 at 6:44 PM Thomas Gleixner wrote: > > On Fri, 3 Aug 2018, Souptick Joarder wrote: > > On Mon, Jul 16, 2018 at 2:47 PM, Thomas Gleixner wrote: > > > On Tue, 3 Jul 2018, Matthew Wilcox wrote: > > > > > >> Return vm_fault_t codes directly from the appropriate mm routines instead

Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-08-03 Thread Thomas Gleixner
On Fri, 3 Aug 2018, Souptick Joarder wrote: > On Mon, Jul 16, 2018 at 2:47 PM, Thomas Gleixner wrote: > > On Tue, 3 Jul 2018, Matthew Wilcox wrote: > > > >> Return vm_fault_t codes directly from the appropriate mm routines instead > >> of converting from errnos ourselves. Fixes a minor bug where

Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-08-03 Thread Souptick Joarder
On Mon, Jul 16, 2018 at 2:47 PM, Thomas Gleixner wrote: > On Tue, 3 Jul 2018, Matthew Wilcox wrote: > >> Return vm_fault_t codes directly from the appropriate mm routines instead >> of converting from errnos ourselves. Fixes a minor bug where we'd return >> SIGBUS instead of the correct OOM code

Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-07-16 Thread Thomas Gleixner
On Tue, 3 Jul 2018, Matthew Wilcox wrote: > Return vm_fault_t codes directly from the appropriate mm routines instead > of converting from errnos ourselves. Fixes a minor bug where we'd return > SIGBUS instead of the correct OOM code if we ran out of memory allocating > page tables. > > Signed-o

[PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-07-03 Thread Matthew Wilcox
Return vm_fault_t codes directly from the appropriate mm routines instead of converting from errnos ourselves. Fixes a minor bug where we'd return SIGBUS instead of the correct OOM code if we ran out of memory allocating page tables. Signed-off-by: Matthew Wilcox --- arch/x86/entry/vdso/vma.c |