CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2011/07/07 14:52:50
Modified files: sys/uvm : uvm_extern.h uvm_page.c uvm_pmemrange.c Log message: Move the uvm reserve enforcement from uvm_pagealloc to pmemrange. More and more things are allocating outside of uvm_pagealloc these days making it easy for something like the buffer cache to eat your last page with no repercussions (other than a hung machine, of course). ok ariane@ also ok ariane@ again after I spotted and fixed a possible underflow problem in the calculation.