opnsense-src/sys/vm
Doug Moore b82d789759 vm_object: add getpages utility
vnode_pager_generic_getpages() and swap_pager_getpages_locked() each
include code to read a few pages behind, and a few pages ahead of, a
specified page range. The same code can serve each function, and that
code is encapsulated in a new vm_object_page function. For the swap
case, this also eliminates some needless linked-list traversal.

Reviewed by:	alc, kib
Differential Revision:	https://reviews.freebsd.org/D49224
2025-03-14 21:43:44 -05:00
..
_vm_phys.h Revert "subr_pctrie: use ilog2(x) instead of fls(x)-1" 2024-06-03 13:07:42 -05:00
_vm_radix.h
device_pager.c device_pager: Assert that the handle is not NULL 2025-03-13 12:57:40 -04:00
memguard.c
memguard.h
phys_pager.c
pmap.h pmap: move the smp_targeted_tlb_shutdown pointer stuff to amd64 pmap.h 2024-06-06 08:15:08 +03:00
redzone.c
redzone.h
sg_pager.c Add sysctl kern.proc.kqueue 2025-03-13 18:09:35 +02:00
swap_pager.c vm_object: add getpages utility 2025-03-14 21:43:44 -05:00
swap_pager.h tmpfs_vnops: move swap work to swap_pager 2024-10-24 14:24:49 -05:00
uma.h Introduce the UMA_ZONE_NOTRIM uma zone type 2025-01-15 12:23:00 -05:00
uma_align_mask.h
uma_core.c Introduce the UMA_ZONE_NOTRIM uma zone type 2025-01-15 12:23:00 -05:00
uma_dbg.c
uma_dbg.h
uma_int.h
vm.h vm: Remove kernel stack swapping support, part 2 2024-07-29 01:38:39 +00:00
vm_domainset.c arm64: Support the L3 ATTR_CONTIGUOUS page size in pagesizes[] 2024-07-13 12:43:42 -05:00
vm_domainset.h
vm_dumpset.h
vm_extern.h vm: Remove kernel stack swapping support, part 8 2024-07-29 01:43:59 +00:00
vm_fault.c vm_page: expose page_alloc_after 2025-02-27 10:55:33 -06:00
vm_glue.c vm_glue: use vm_page_alloc_domain_after 2024-10-19 15:22:20 -05:00
vm_init.c vm: Assert that pagesizes[] is sorted 2024-08-04 14:53:15 -05:00
vm_kern.c vm_page: drop page_iter_lookup 2025-03-02 18:05:02 -06:00
vm_kern.h vm: Retire kmem_arena 2024-07-24 14:31:40 -05:00
vm_map.c vm_map: convert several bool members into flags 2024-12-09 05:27:44 +02:00
vm_map.h vm/vm_map.h: drop vm_flags_t 2024-12-09 05:27:44 +02:00
vm_meter.c vm_meter: Fix laundry accounting 2024-10-22 12:48:43 +00:00
vm_mmap.c vm: rename MAP_STACK_GROWS_DOWN to MAP_STACK_AREA 2024-12-06 09:46:59 +02:00
vm_object.c vm_object: add getpages utility 2025-03-14 21:43:44 -05:00
vm_object.h vm_object: add getpages utility 2025-03-14 21:43:44 -05:00
vm_page.c vm_page: drop page_iter_lookup 2025-03-02 18:05:02 -06:00
vm_page.h vm_page: drop page_iter_lookup 2025-03-02 18:05:02 -06:00
vm_pageout.c vm_pageout: Add a chicken switch for multithreaded PQ_INACTIVE scanning 2025-01-09 14:54:10 +00:00
vm_pageout.h vm: Remove kernel stack swapping support, part 1 2024-07-29 01:38:21 +00:00
vm_pagequeue.h vm_pageout: Add a chicken switch for multithreaded PQ_INACTIVE scanning 2025-01-09 14:54:10 +00:00
vm_pager.c pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS 2024-05-26 10:20:52 -07:00
vm_pager.h vm_page: pass page to iter_remove 2024-12-08 14:30:22 -06:00
vm_param.h
vm_phys.c vm_phys_early_startup(): Panic if phys_avail[] is empty 2025-02-19 15:13:27 +01:00
vm_phys.h vm_phys: reduce touching of page->pool fields 2025-01-29 03:13:17 -06:00
vm_radix.c uma: Deduplicate uma_small_alloc 2024-05-25 19:24:46 +02:00
vm_radix.h vm_radix: Add iter lookup_le interface 2024-11-09 13:32:58 -06:00
vm_reserv.c vm_reserv: use default pool for free page removal. 2025-02-03 15:58:17 -06:00
vm_reserv.h vm_reserv: Add vm_reserv_is_populated 2024-04-07 12:28:52 -05:00
vm_swapout.c conf: Remove kernel stack swapping support, part 12 2024-07-29 01:43:59 +00:00
vm_unix.c
vnode_pager.c vm_object: add getpages utility 2025-03-14 21:43:44 -05:00
vnode_pager.h