]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Increase the default vm.max_user_wired value.
authormarkj <markj@FreeBSD.org>
Thu, 17 Sep 2020 16:49:28 +0000 (16:49 +0000)
committermarkj <markj@FreeBSD.org>
Thu, 17 Sep 2020 16:49:28 +0000 (16:49 +0000)
commitafab1c45330447e3772e79a88b04325d640bcfe3
tree48bf4d437e722a404a84d5b96f1e2f7063a9e4c6
parent22d12266566aaf2a733df0b5fff05f66e907f392
Increase the default vm.max_user_wired value.

Since r347532 (merged to stable/12) we only count user-wired pages
towards the system limit.  However, we now also treat pages wired by
hypervisors (bhyve and virtualbox) as user-wired, so starting VMs with
large amounts of RAM tends to fail due to the low limit.

The purpose of the limit is to provide a seatbelt, not to impose some
policy on the use of wired memory.  Thus, increase the default limit to
allow reasonable VM configurations to work without tuning.

Reviewed by: kib
Discussed with: dougm
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26424
sys/vm/vm_pageout.c