freebsd_amp_hwpstate/sys/vm
Konstantin Belousov 0190c38b9d swapoff_one(): only check free pages count manually turning swap off
When swap is turned off due to system shutdown or reboot, ignore the
check.  Problem is that the check is not accurate by any means, free
page count can legitimately be low while system still able to page in
everything from the swap.  Then, we turn swap off if swapping on
real file or some non-standard geom provider, and typically panic
when system appears to actually need to unavailable page.

For syscall, it is better to be safe than sorry.

Reported and tested by:	peterj
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33147
2021-11-29 18:38:02 +02:00
..
_vm_phys.h
_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 swapoff_one(): only check free pages count manually turning swap off 2021-11-29 18:38:02 +02:00
swap_pager.h
uma.h
uma_core.c
uma_dbg.c
uma_dbg.h
uma_int.h
vm.h
vm_domainset.c
vm_domainset.h
vm_dumpset.h minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
vm_extern.h
vm_fault.c vm_fault: Factor out per-object operations into vm_fault_object() 2021-11-24 14:02:56 -05:00
vm_glue.c
vm_init.c
vm_kern.c
vm_kern.h
vm_map.c
vm_map.h
vm_meter.c
vm_mmap.c ommap: fix signed len and pos arguments 2021-11-15 18:34:28 +00:00
vm_object.c
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.c
vm_swapout_dummy.c
vm_unix.c
vnode_pager.c
vnode_pager.h