diff options
author | 2020-09-05 19:21:10 +0000 | |
---|---|---|
committer | 2020-09-05 19:21:10 +0000 | |
commit | 67fd21e21d7e7958aa5a88ed536d3293992ea05c (patch) | |
tree | a82db754c0c58473c2583c2b2eec1d52cb78c212 /lib/libc | |
parent | Use peer from policy, not from the acquire message. (diff) | |
download | wireguard-openbsd-67fd21e21d7e7958aa5a88ed536d3293992ea05c.tar.xz wireguard-openbsd-67fd21e21d7e7958aa5a88ed536d3293992ea05c.zip |
Implement spilling of kernel SLB entries. Mostly from FreeBSD.
This makes it possible to use more SLB entries for the kernel than the
hardware supports. The design is such that a subset of the hardware SLB
entries can be replaced when needed. This makes sure the entries
mapping kernel code and data and the page tables ar always present.
Traps for missing SLB entries are handled in real-mode and on a special
stack such that it doesn't have to rely on SLB entires mapping kernel
stacks.
With this in place we can increase KVA to 32GB. Hopefully that's enough
to support large memory configurations.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions