diff options
author | 2008-10-23 23:54:02 +0000 | |
---|---|---|
committer | 2008-10-23 23:54:02 +0000 | |
commit | 898645e14acc973b87fd535901c33d1c0630b0a3 (patch) | |
tree | 1faca18e41b1a0575cd15fe19a26db2d46ace900 /lib/libc | |
parent | arc(4) also supports SAS adapters. (diff) | |
download | wireguard-openbsd-898645e14acc973b87fd535901c33d1c0630b0a3.tar.xz wireguard-openbsd-898645e14acc973b87fd535901c33d1c0630b0a3.zip |
a better fix for the "uvm_km thread runs out of memory" problem.
add a new arg to the backend so it can tell pool to slow down. when we get
this flag, yield *after* putting the page in the pool's free list. whatever
we do, don't let the thread sleep.
this makes things better by still letting the thread run when a huge pf
request comes in, but without artificially increasing pressure on the backend
by eating pages without feeding them forward.
ok deraadt
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions