set that NetBSD overcommits (from maya)

This commit is contained in:
christos 2020-01-06 20:35:11 +00:00
parent 79fb69eea1
commit c414fa5908

View File

@ -592,6 +592,8 @@ pages_boot(void) {
mmap_flags |= MAP_NORESERVE;
}
# endif
#elif defined(__NetBSD__)
os_overcommits = true;
#else
os_overcommits = false;
#endif