[lkml]   [2018]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] dax: Change return type to vm_fault_t
On Fri, May 11, 2018 at 9:34 AM, 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.
> Commit 1c8f422059ae ("mm: change return type to vm_fault_t")
> Previously vm_insert_mixed() returns err which driver
> mapped into VM_FAULT_* type. The new function
> vmf_insert_mixed() will replace this inefficiency by
> returning VM_FAULT_* type.
> Signed-off-by: Souptick Joarder <>
> Reviewed-by: Matthew Wilcox <>
> Reviewed-by: Ross Zwisler <>
> ---
> v2: Modified the change log
> v3: Updated the change log and
> added Ross in review list
> v4: Addressed David's comment.
> Changes in huge_memory.c put
> together in a single patch that
> it is bisectable in furture

Thanks, I'll carry this in the nvdimm tree since it collides with some
work-in progress development.

 \ /
  Last update: 2018-05-11 18:35    [W:0.101 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site