Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-05 Thread Souptick Joarder
On Tue, Nov 6, 2018 at 11:51 AM Mike Rapoport wrote: > > On Mon, Nov 05, 2018 at 07:23:55PM +0530, Souptick Joarder wrote: > > On Mon, Nov 5, 2018 at 2:43 PM Mike Rapoport wrote: > > > > > > On Mon, Nov 05, 2018 at 11:14:17AM +0530, Souptick Joarder wrote: > > > > Hi Matthew, > > > > > > > > On S

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-05 Thread Mike Rapoport
On Mon, Nov 05, 2018 at 07:23:55PM +0530, Souptick Joarder wrote: > On Mon, Nov 5, 2018 at 2:43 PM Mike Rapoport wrote: > > > > On Mon, Nov 05, 2018 at 11:14:17AM +0530, Souptick Joarder wrote: > > > Hi Matthew, > > > > > > On Sun, Nov 4, 2018 at 2:06 PM Mike Rapoport wrote: > > > > > > > > On Sa

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-05 Thread Souptick Joarder
On Mon, Nov 5, 2018 at 2:43 PM Mike Rapoport wrote: > > On Mon, Nov 05, 2018 at 11:14:17AM +0530, Souptick Joarder wrote: > > Hi Matthew, > > > > On Sun, Nov 4, 2018 at 2:06 PM Mike Rapoport wrote: > > > > > > On Sat, Nov 03, 2018 at 05:02:36AM -0700, Matthew Wilcox wrote: > > > > On Sat, Nov 03,

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-05 Thread Mike Rapoport
On Mon, Nov 05, 2018 at 11:14:17AM +0530, Souptick Joarder wrote: > Hi Matthew, > > On Sun, Nov 4, 2018 at 2:06 PM Mike Rapoport wrote: > > > > On Sat, Nov 03, 2018 at 05:02:36AM -0700, Matthew Wilcox wrote: > > > On Sat, Nov 03, 2018 at 10:35:04AM +0530, Souptick Joarder wrote: > > > > Page faul

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-04 Thread Souptick Joarder
Hi Matthew, On Sun, Nov 4, 2018 at 2:06 PM Mike Rapoport wrote: > > On Sat, Nov 03, 2018 at 05:02:36AM -0700, Matthew Wilcox wrote: > > On Sat, Nov 03, 2018 at 10:35:04AM +0530, Souptick Joarder wrote: > > > Page fault handlers are supposed to return VM_FAULT codes, > > > but some drivers/file sy

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-04 Thread Mike Rapoport
On Sat, Nov 03, 2018 at 05:02:36AM -0700, Matthew Wilcox wrote: > On Sat, Nov 03, 2018 at 10:35:04AM +0530, Souptick Joarder wrote: > > Page fault handlers are supposed to return VM_FAULT codes, > > but some drivers/file systems mistakenly return error > > numbers. Now that all drivers/file systems

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-03 Thread Matthew Wilcox
On Sat, Nov 03, 2018 at 10:35:04AM +0530, Souptick Joarder wrote: > Page fault handlers are supposed to return VM_FAULT codes, > but some drivers/file systems mistakenly return error > numbers. Now that all drivers/file systems have been converted > to use the vm_fault_t return type, change the typ

Re: [PATCH] mm: Create the new vm_fault_t type

2018-11-02 Thread Souptick Joarder
On Sat, Nov 3, 2018 at 10:31 AM Souptick Joarder wrote: > > Page fault handlers are supposed to return VM_FAULT codes, > but some drivers/file systems mistakenly return error > numbers. Now that all drivers/file systems have been converted > to use the vm_fault_t return type, change the type defin

[PATCH] mm: Create the new vm_fault_t type

2018-11-02 Thread Souptick Joarder
Page fault handlers are supposed to return VM_FAULT codes, but some drivers/file systems mistakenly return error numbers. Now that all drivers/file systems have been converted to use the vm_fault_t return type, change the type definition to no longer be compatible with 'int'. By making it an unsign