summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2010-07-01 19:48:05 +0000
committeroga <oga@openbsd.org>2010-07-01 19:48:05 +0000
commit2bb3cc699baa22f9b4d4925a0013af4e53e2337e (patch)
treeca98476a014901491a1e6b105432b92cda20cc89 /sys/kern/kern_malloc.c
parentI accidentally whacked something important. Sorry. (diff)
downloadwireguard-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