diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-06-01 11:45:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-06-01 11:45:02 +0000 |
commit | 104c8c3e64f6e895292c0fad0cc732f9029b3149 (patch) | |
tree | 400111a12752018ec2f7eb0cd93e8d1a5ad63377 /sys/kern/kern_time.c | |
parent | 5dc3d482c1cf40ac55ebf387564b5fc3701268ee (diff) |
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/kern_time.c')
0 files changed, 0 insertions, 0 deletions