]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl: Remove vma linked list walk
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 4 Jan 2021 19:31:50 +0000 (14:31 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 30 Oct 2021 03:38:43 +0000 (23:38 -0400)
commite17ee7c2e9873fa241f1061458bdb2c58473e735
tree92305cc52d3875f4a52e4471d93b95a6e63e662d
parent5139996d6a730bb342b8f165d70c28efb54c3c29
cxl: Remove vma linked list walk

Use the VMA iterator instead.  This requires a little restructuring
of the surrounding code to hoist the mm to the caller.  That turns
cxl_prefault_one() into a trivial function, so call cxl_fault_segment()
directly.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
drivers/misc/cxl/fault.c