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/e081f3a6dbf9
branches:  trunk
changeset: 466921:e081f3a6dbf9
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 69c761bd917f -r e081f3a6dbf9 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