summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2011-07-07 20:52:50 +0000
committeroga <oga@openbsd.org>2011-07-07 20:52:50 +0000
commit0bec8dbe4017410cf1ddf990002aabeccd653f82 (patch)
tree5aec429a62d78dac765f4a08a89e26bb14b7cab9 /usr.bin/grep/grep.c
parentThere were two loops in pf_setup_pdesc() and pf_normalize_ip6() (diff)
downloadwireguard-openbsd-0bec8dbe4017410cf1ddf990002aabeccd653f82.tar.xz
wireguard-openbsd-0bec8dbe4017410cf1ddf990002aabeccd653f82.zip
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.
Diffstat (limited to 'usr.bin/grep/grep.c')
0 files changed, 0 insertions, 0 deletions