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/2ef447e9df0a
branches:  trunk
changeset: 1006243:2ef447e9df0a
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 47daa8d84af3 -r 2ef447e9df0a 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