]> 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>
Fri, 26 Nov 2021 19:50:31 +0000 (14:50 -0500)
commit24106b7fb1543fe869b46df2c4c238143a4d04f7
tree6db6b3ed1658c35d149246ce1f74656a52466efc
parent8a2a41ed9034d2d611f28afcf2c37d05ff4736e5
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>
drivers/misc/cxl/fault.c