freebsd-dev/sys/vm
Gleb Smirnoff 81a34d374e protosw: retire pr_drain and use EVENTHANDLER(9) directly
The method was called for two different conditions: 1) the VM layer is
low on pages or 2) one of UMA zones of mbuf allocator exhausted.
This change 2) into a new event handler, but all affected network
subsystems modified to subscribe to both, so this change shall not
bring functional changes under different low memory situations.

There were three subsystems still using pr_drain: TCP, SCTP and frag6.
The latter had its protosw entry for the only reason to register its
pr_drain method.

Reviewed by:		tuexen, melifaro
Differential revision:	https://reviews.freebsd.org/D36164
2022-08-17 11:50:31 -07:00
..
_vm_phys.h
_vm_radix.h
device_pager.c
memguard.c memguard(9): Fix two typos in source code comments 2022-04-02 13:51:27 +02:00
memguard.h
phys_pager.c
pmap.h
redzone.c
redzone.h
sg_pager.c
swap_pager.c swap_pager: Reduce the scope of the object lock in putpages 2022-07-18 22:35:49 -05:00
swap_pager.h
uma_core.c sys/vm: Add TSLOG to some functions 2022-08-12 16:53:04 -07:00
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h
vm_domainset.c
vm_domainset.h
vm_dumpset.h
vm_extern.h
vm_fault.c vm_fault: Shoot down shared mappings in vm_fault_copy_entry() 2022-08-09 15:44:45 -04:00
vm_glue.c
vm_init.c vm: Initialize the transient buffer mapping arena with M_WAITOK 2022-04-14 15:46:14 -04:00
vm_kern.c sys/vm: Add TSLOG to some functions 2022-08-12 16:53:04 -07:00
vm_kern.h
vm_map.c Rework how shared page related data is stored 2022-07-18 16:27:32 +02:00
vm_map.h Rework how shared page related data is stored 2022-07-18 16:27:32 +02:00
vm_meter.c
vm_mmap.c vm: Remove handling for OBJT_DEFAULT objects 2022-07-17 07:09:48 -04:00
vm_object.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
vm_object.h vm_object: Modify vm_object_allocate_anon() to return OBJT_SWAP objects 2022-07-17 07:09:48 -04:00
vm_page.c Revert "vm: use atomic fetchadd in vm_page_sunbusy" 2022-08-17 16:24:14 +00:00
vm_page.h
vm_pageout.c vm: Remove handling for OBJT_DEFAULT objects 2022-07-17 07:09:48 -04:00
vm_pageout.h protosw: retire pr_drain and use EVENTHANDLER(9) directly 2022-08-17 11:50:31 -07:00
vm_pagequeue.h
vm_pager.c sys/vm: Add TSLOG to some functions 2022-08-12 16:53:04 -07:00
vm_pager.h
vm_param.h
vm_phys.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
vm_phys.h
vm_radix.c
vm_radix.h
vm_reserv.c
vm_reserv.h
vm_swapout_dummy.c
vm_swapout.c vm: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
vm_unix.c
vm.h vm_pager: Remove the default pager 2022-07-17 07:09:48 -04:00
vnode_pager.c vm: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:20 -07:00
vnode_pager.h