acrn-kernel/drivers/misc/cxl
Matthew Wilcox (Oracle) d9fa0e37cd 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.

Link: https://lkml.kernel.org/r/20220906194824.2110408-38-Liam.Howlett@oracle.com
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>
Tested-by: Yu Zhao <yuzhao@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: SeongJae Park <sj@kernel.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-09-26 19:46:20 -07:00
..
Kconfig
Makefile
api.c
base.c
context.c cxl: Use the bitmap API to allocate bitmaps 2022-07-14 16:53:52 +02:00
cxl.h
cxllib.c
debugfs.c
fault.c cxl: remove vma linked list walk 2022-09-26 19:46:20 -07:00
file.c
flash.c
guest.c cxl: Use the bitmap API to allocate bitmaps 2022-07-14 16:53:52 +02:00
hcalls.c
hcalls.h
irq.c cxl: Fix a memory leak in an error handling path 2022-07-14 16:53:52 +02:00
main.c
native.c
of.c cxl: Use the bitmap API to allocate bitmaps 2022-07-14 16:53:52 +02:00
pci.c
sysfs.c
trace.c
trace.h
vphb.c