diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2008-10-23 23:54:03 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2008-10-23 23:54:03 +0000 |
commit | a589fbadefc286c5b9f79ad996596a1006bcdea3 (patch) | |
tree | 11917cdb46abf003114075e269bb90c39a4f349e /sys/uvm/uvm_stat.h | |
parent | 8cf2bd98977117b4f40fc8cc454c9784708fb9a0 (diff) |
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 'sys/uvm/uvm_stat.h')
0 files changed, 0 insertions, 0 deletions