diff options
author | Andrew Whatson <whatson@gmail.com> | 2021-09-15 08:04:33 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-09-15 08:04:33 +0300 |
commit | 4622151c478b5f6b3f769ce0ef6d14ccc6e37e47 (patch) | |
tree | ec0633402f9212460bd7c968c6253472f72ad0ca /AUTHORS | |
parent | 33169c10e8b061135ef838dcb0a5f9ed772312bd (diff) | |
download | bdwgc-4622151c478b5f6b3f769ce0ef6d14ccc6e37e47.tar.gz |
Fix mmap(PROT_NONE) failure if RLIMIT_AS value is low (Linux)
Issue #353 (bdwgc).
mprotect(PROT_NONE) does not fail on Linux if RLIMIT_AS is set to
a low value unlike mmap(PROT_NONE) call.
* os_dep.c [USE_MUNMAP && !USE_WINALLOC && !SN_TARGET_PS3 && LINUX
&& !PREFER_MMAP_PROT_NONE] (GC_unmap, GC_unmap_gap): Use mprotect()
instead of mmap(); add comment.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions