Matthew Jaffee
693606fa80
better explanation for 'cannot allocate memory' error
2021-09-23 08:32:12 -05:00
Seebs
d742c67317
avoid race on max count reads and writes
2020-02-21 16:38:36 -06:00
Seebs
cb686dcad0
make mmap test experiment with different amounts of mapping
...
This is sort of prototype-ish, but the idea is that we use SetMaxMapCount
from syswrap, which already exists, to let us test edge cases like
"what happens if you only sometimes have mapped data".
2020-02-21 16:38:35 -06:00
Cody Soyland
fdbfc68f7c
Add license headers to files missing them and CI check to verify they are present. Fixes #1633
2019-04-12 11:30:41 -05:00
Matt Jaffee
226f15446b
lock MaxMapCount and fix unused var
2019-03-19 12:55:26 -05:00
Matt Jaffee
e469285fe3
add fragment mmap tracking and limiting
...
in the case that the map limit is reached, we'll fall back to reading the file
into memory normally.
2019-03-19 12:55:26 -05:00