Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/jemalloc/dist/src set that NetBSD overcommits (...
details: https://anonhg.NetBSD.org/src/rev/ae58692af3e9
branches: trunk
changeset: 968208:ae58692af3e9
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 06 20:35:11 2020 +0000
description:
set that NetBSD overcommits (from maya)
diffstat:
external/bsd/jemalloc/dist/src/pages.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 2f7e8bfaf71c -r ae58692af3e9 external/bsd/jemalloc/dist/src/pages.c
--- a/external/bsd/jemalloc/dist/src/pages.c Mon Jan 06 20:31:35 2020 +0000
+++ b/external/bsd/jemalloc/dist/src/pages.c Mon Jan 06 20:35:11 2020 +0000
@@ -592,6 +592,8 @@
mmap_flags |= MAP_NORESERVE;
}
# endif
+#elif defined(__NetBSD__)
+ os_overcommits = true;
#else
os_overcommits = false;
#endif
Home |
Main Index |
Thread Index |
Old Index