[PATCH v2] powerpc: platform: cell: spufs: Change return type to vm_fault_t

Souptick Joarder jrdr.linux at gmail.com
Fri May 11 01:05:25 AEST 2018


On Sat, Apr 21, 2018 at 3:04 AM, Matthew Wilcox <willy at infradead.org> wrote:
> On Fri, Apr 20, 2018 at 11:02:39PM +0530, Souptick Joarder wrote:
>> Use new return type vm_fault_t for fault handler. For
>> now, this is just documenting that the function returns
>> a VM_FAULT value rather than an errno. Once all instances
>> are converted, vm_fault_t will become a distinct type.
>>
>> Reference id -> 1c8f422059ae ("mm: change return type to
>> vm_fault_t")
>>
>> We are fixing a minor bug, that the error from vm_insert_
>> pfn() was being ignored and the effect of this is likely
>> to be only felt in OOM situations.
>>
>> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>
>
> Reviewed-by: Matthew Wilcox <mawilcox at microsoft.com>

Any further comment on this patch ?


More information about the Linuxppc-dev mailing list