Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Diff of /src/runtime/gencgc.c [4af254] .. [3d19a6] Maximize Restore

  Switch to side-by-side view

--- a/src/runtime/gencgc.c
+++ b/src/runtime/gencgc.c
@@ -69,7 +69,7 @@
 boolean enable_page_protection = 1;
 /* Should we unmap a page and re-mmap it to have it zero filled? */
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
 /* comment from cmucl-2.4.8: This can waste a lot of swap on FreeBSD
  * so don't unmap there.