Re: [PATCH v2 01/25] mm: Use vm_fault error code directly

From: Christoph Hellwig
Date: Wed Feb 12 2020 - 02:35:05 EST


On Tue, Feb 11, 2020 at 08:18:21PM -0800, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> Use VM_FAULT_OOM instead of indirecting through vmf_error(-ENOMEM).
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>