Module Name: src
Committed By: christos
Date: Mon Jan 6 20:35:11 UTC 2020
Modified Files:
src/external/bsd/jemalloc/dist/src: pages.c
Log Message:
set that NetBSD overcommits (from maya)
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/jemalloc/dist/src/pages.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/jemalloc/dist/src/pages.c
diff -u src/external/bsd/jemalloc/dist/src/pages.c:1.5 src/external/bsd/jemalloc/dist/src/pages.c:1.6
--- src/external/bsd/jemalloc/dist/src/pages.c:1.5 Fri Apr 26 19:57:59 2019
+++ src/external/bsd/jemalloc/dist/src/pages.c Mon Jan 6 15:35:11 2020
@@ -592,6 +592,8 @@ pages_boot(void) {
mmap_flags |= MAP_NORESERVE;
}
# endif
+#elif defined(__NetBSD__)
+ os_overcommits = true;
#else
os_overcommits = false;
#endif