]> 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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 14 Mar 2022 18:49:46 +0000 (14:49 -0400)
commit6a122d8b8796f1b4dde565309818759f85e7d6f3
tree45cd084f5fdd609b8c9ae3c1dd099ff6db0a0f19
parentf71c9fc1b3d3ddc450017e39cc7a7a8d55d6eca9
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: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
drivers/misc/cxl/fault.c