]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Increase the default vm.max_user_wired value.
authorMark Johnston <markj@FreeBSD.org>
Thu, 17 Sep 2020 16:49:28 +0000 (16:49 +0000)
committerMark Johnston <markj@FreeBSD.org>
Thu, 17 Sep 2020 16:49:28 +0000 (16:49 +0000)
commit97458520cc15b26edbf5d5cd5ed54c3253dfa21c
tree48bf4d437e722a404a84d5b96f1e2f7063a9e4c6
parent77ceadee6d88cf4ce968b42503acfb12c668ffa5
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