[PATCH v13 36/70] xtensa: remove vma linked list walks

Davidlohr Bueso dave at stgolabs.net
Thu Aug 25 08:48:30 PDT 2022


On Mon, 22 Aug 2022, Liam Howlett wrote:

>From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
>
>Use the VMA iterator instead.  Since VMA can no longer be NULL in the
>loop, then deal with out-of-memory outside the loop.  This means a
>slightly longer run time in the failure case (-ENOMEM) - it will run to
>the end of the VMAs before erroring instead of in the middle of the loop.

I don't see anyone minding this.

>
>Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>
>Signed-off-by: Liam R. Howlett <Liam.Howlett at Oracle.com>

Reviewed-by: Davidlohr Bueso <dave at stgolabs.net>



More information about the maple-tree mailing list