summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2017-09-22 14:17:52 +0000
committervisa <visa@openbsd.org>2017-09-22 14:17:52 +0000
commita3bc953a021c4947ff37f2db7fcf3bbe0194dbd8 (patch)
treedecb018c942caa59bb1341cab9d75eadfca09b31 /lib/libc/stdlib/malloc.c
parentRemove the '-u' command line option to (diff)
downloadwireguard-openbsd-a3bc953a021c4947ff37f2db7fcf3bbe0194dbd8.tar.xz
wireguard-openbsd-a3bc953a021c4947ff37f2db7fcf3bbe0194dbd8.zip
Allocate a bounce buffer once during init and reuse it for DMA commands.
This makes the system a bit harder to corner when paging to SD/MMC. In addition, limit the maximum DMA segment size to MAXPHYS.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions