summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sched.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2009-04-20 01:28:45 +0000
committeroga <oga@openbsd.org>2009-04-20 01:28:45 +0000
commitd4ab52b15026cb2f28ae7c7ad52075e4ff21196d (patch)
treed9c12ad6386ee68e23f154215b09c5f8c4e5b0e3 /sys/kern/kern_sched.c
parentDocument BUS_DMA_ZERO. (diff)
downloadwireguard-openbsd-d4ab52b15026cb2f28ae7c7ad52075e4ff21196d.tar.xz
wireguard-openbsd-d4ab52b15026cb2f28ae7c7ad52075e4ff21196d.zip
Don't map all agp memory we allocate.
If we're just going to be making it available to userland (the X server), just use load_raw and make sure it's zeroed with BUS_DMA_ZERO. Should save $AMOUNT_BOUND_TO_GART kva. Most kernel users also write through the gart, so no mapping there either. tested by sthen and todd a while back.
Diffstat (limited to 'sys/kern/kern_sched.c')
0 files changed, 0 insertions, 0 deletions