freebsd-nq/sys/vm
Mark Johnston 0f9b7bf37a Add accounting to per-domain UMA full bucket caches.
In particular, track the current size of the cache and maintain an
estimate of its working set size.  This will be used to decide how
much to shrink various caches when the kernel attempts to reclaim
pages.  As a secondary effect, it makes statistics aggregation (done
by, e.g., vmstat -z) cheaper since sysctl_vm_zone_stats() no longer
needs to iterate over lists of cached buckets.

Discussed with:	alc, glebius, jeff
Tested by:	pho (previous version)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D16666
2018-11-13 19:44:40 +00:00
..
_vm_radix.h
default_pager.c
device_pager.c
memguard.c
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c Fix a use-after-free in swp_pager_meta_free(). 2018-11-07 23:28:11 +00:00
swap_pager.h
uma_core.c Add accounting to per-domain UMA full bucket caches. 2018-11-13 19:44:40 +00:00
uma_dbg.c
uma_dbg.h
uma_int.h Add accounting to per-domain UMA full bucket caches. 2018-11-13 19:44:40 +00:00
uma.h
vm_domainset.c
vm_domainset.h
vm_extern.h
vm_fault.c
vm_glue.c
vm_init.c
vm_kern.c Avoid specifying VM_PROT_EXECUTE in mappings from pipe_map and exec_map. 2018-11-06 21:57:03 +00:00
vm_kern.h
vm_map.c
vm_map.h
vm_meter.c
vm_mmap.c
vm_object.c Re-apply r336984, reverting r339934. 2018-11-10 20:33:08 +00:00
vm_object.h
vm_page.c
vm_page.h
vm_pageout.c
vm_pageout.h
vm_pagequeue.h
vm_pager.c
vm_pager.h
vm_param.h
vm_phys.c
vm_phys.h
vm_radix.c
vm_radix.h
vm_reserv.c
vm_reserv.h
vm_swapout_dummy.c
vm_swapout.c
vm_unix.c
vm.h
vnode_pager.c
vnode_pager.h