diff options
author | 2010-07-01 19:48:05 +0000 | |
---|---|---|
committer | 2010-07-01 19:48:05 +0000 | |
commit | 2bb3cc699baa22f9b4d4925a0013af4e53e2337e (patch) | |
tree | ca98476a014901491a1e6b105432b92cda20cc89 /sys/kern/kern_malloc.c | |
parent | I accidentally whacked something important. Sorry. (diff) | |
download | wireguard-openbsd-2bb3cc699baa22f9b4d4925a0013af4e53e2337e.tar.xz wireguard-openbsd-2bb3cc699baa22f9b4d4925a0013af4e53e2337e.zip |
Allow swapping to happen in the case where where we have more memory
than we can realistically dma to.
In the swap encrypt case we already bounce through a intermediate buffer
for pageout, so just make sure that that buffer is constrained to
dmaable memory. In the other cases we check to see if the memory is
dmaable, then if not we bounce it.
ok beck@, art@, thib@.
Diffstat (limited to 'sys/kern/kern_malloc.c')
0 files changed, 0 insertions, 0 deletions