]> 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>
Thu, 16 Dec 2021 03:01:34 +0000 (22:01 -0500)
commit9043d6738e5e2d279b3c899099d077a2e7c4674d
tree0d83f06d19c923a8b3fe07486317520dafaa1d1d
parent213c624a5c5c1d2509260e13623ef3c40620fd2b
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