diff options
author | 2019-06-01 11:45:01 +0000 | |
---|---|---|
committer | 2019-06-01 11:45:01 +0000 | |
commit | e52ba23703a885a96256f86cdc327f424dba1405 (patch) | |
tree | f88247058c23781f1066d84a76b1c38b5a385530 /sys/kern/tty.c | |
parent | Fix warnings when building zlib with ZLIB_CONST defined (diff) | |
download | wireguard-openbsd-e52ba23703a885a96256f86cdc327f424dba1405.tar.xz wireguard-openbsd-e52ba23703a885a96256f86cdc327f424dba1405.zip |
On machines with large amounts of physical memory we fail to initialize uvm
because we don't have enough kernel memory available in the early bootstrap
phase to allocate the vm_page structures. Fix this by making uvm_growkernel()
work before uvm is initialized like we do on other architectures that don't
use a direct map and explicitly call it after enumerating the available
physical memory with an estimate of how much KVA we need to initialize uvm.
ok patrick@
Diffstat (limited to 'sys/kern/tty.c')
0 files changed, 0 insertions, 0 deletions