opnsense-src/sys/vm
Doug Moore e413e15c1a swap_pager_freespace: fix freed count
Function swp_pager_meta_transfer uses 'pindex' as the start address of
the swblk in calculating which page to lookup in order to count freed
pages.  However, the lookup for a swblk at 'pindex' or greater may
produce one greater than 'pindex', given by sb->p, and that's the
value that should be used to compute a page adddress.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D46234
2024-08-07 03:37:18 -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 radix_trie: have vm_radix use pctrie code 2023-09-12 02:42:38 -05:00
device_pager.c cdev_pager_allocate(): ensure that the cdev_pager_ops ctr is called only once 2024-05-12 04:13:00 +03:00
memguard.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
memguard.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
phys_pager.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
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 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
redzone.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sg_pager.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
swap_pager.c swap_pager_freespace: fix freed count 2024-08-07 03:37:18 -05:00
swap_pager.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
uma.h uma: Permit specifying max of cache line and some custom alignment 2023-11-02 09:30:03 -04:00
uma_align_mask.h uma: Make the cache alignment mask unsigned 2023-11-02 09:30:03 -04:00
uma_core.c malloc(9): Introduce M_NEVERFREED 2024-07-30 17:38:18 +02:00
uma_dbg.c Fix build on powerpc after previous commit. 2023-11-09 21:21:47 -05:00
uma_dbg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
uma_int.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
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 Avoid waiting on physical allocations that can't possibly be satisfied 2023-12-23 23:01:40 -06:00
vm_dumpset.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vm_extern.h vm: Remove kernel stack swapping support, part 8 2024-07-29 01:43:59 +00:00
vm_fault.c vm_fault: avoid vm_page_next() 2024-07-27 16:11:53 -05:00
vm_glue.c sleepqueue: Remove kernel stack swapping support, part 10 2024-07-29 01:43:59 +00:00
vm_init.c vm: Assert that pagesizes[] is sorted 2024-08-04 14:53:15 -05:00
vm_kern.c vm: Add a KVA arena for M_NEVERFREED allocations 2024-07-30 17:38:24 +02:00
vm_kern.h vm: Retire kmem_arena 2024-07-24 14:31:40 -05:00
vm_map.c vm ASLR: Handle VM_NRESERV_LEVEL == 0 2024-07-13 14:40:43 -05:00
vm_map.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
vm_meter.c thread: Remove kernel stack swapping support, part 4 2024-07-29 01:40:22 +00:00
vm_mmap.c Remove never implemented sbrk and sstk syscalls 2023-12-04 20:36:08 +00:00
vm_object.c vm_pageout: shrink pageout array 2024-08-01 21:36:44 -05:00
vm_object.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
vm_page.c vm_page: Fix inconsistent use of VM_NOFREE_IMPORT_ORDER in vm_page_alloc_nofree_domain 2024-07-30 19:25:37 +02:00
vm_page.h vm: Introduce VM_ALLOC_NOFREE and PG_NOFREE 2024-07-30 17:38:24 +02:00
vm_pageout.c vm/vm_pageout.c: eliminate write-only variable 2024-08-05 18:07:18 +03:00
vm_pageout.h vm: Remove kernel stack swapping support, part 1 2024-07-29 01:38:21 +00:00
vm_pagequeue.h vm: Add a KVA arena for M_NEVERFREED allocations 2024-07-30 17:38:24 +02:00
vm_pager.c pbuf_ctor(): Stop using LK_NOWAIT, use LK_NOWITNESS 2024-05-26 10:20:52 -07:00
vm_pager.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
vm_param.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
vm_phys.c vm_phys: Make sure that vm_phys_enq_chunk() stays in bounds 2024-06-14 15:55:02 -04:00
vm_phys.h vm_page: Implement lazy page initialization 2024-06-13 21:19:00 -04:00
vm_radix.c uma: Deduplicate uma_small_alloc 2024-05-25 19:24:46 +02:00
vm_radix.h vm_radix: define vm_radix_insert_lookup_lt and use in vm_page_rename 2024-06-06 10:26:50 -07:00
vm_reserv.c arm64: Support the L3 ATTR_CONTIGUOUS page size in pagesizes[] 2024-07-13 12:43:42 -05: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 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vnode_pager.c Stop treating size 0 as unknown size in vnode_create_vobject(). 2024-05-23 06:08:14 +00:00
vnode_pager.h Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00