linux-stable/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
..
api.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
base.c
context.c cxl: Use the bitmap API to allocate bitmaps 2022-07-14 16:53:52 +02:00
cxl.h cxl: drop unexpected word "the" in the comments 2022-06-27 16:15:38 +02:00
cxllib.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
debugfs.c
fault.c cxl: remove vma linked list walk 2022-09-26 19:46:20 -07:00
file.c
flash.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
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
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
main.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
Makefile
native.c cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
of.c cxl: Use the bitmap API to allocate bitmaps 2022-07-14 16:53:52 +02:00
pci.c cxl: Use to_pci_driver() instead of pci_dev->driver 2021-10-18 09:20:15 -05:00
sysfs.c cxl: use default_groups in kobj_type 2021-12-29 10:55:50 +01:00
trace.c
trace.h
vphb.c