pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/jemalloc



Module Name:    pkgsrc
Committed By:   gson
Date:           Wed May 17 16:36:46 UTC 2017

Modified Files:
        pkgsrc/devel/jemalloc: Makefile distinfo
Added Files:
        pkgsrc/devel/jemalloc/patches: patch-src_pages.c

Log Message:
Set os_overcommits to true on NetBSD since NetBSD does overcommit.
This also has the benefit of not triggering the issue reported in
https://github.com/jemalloc/jemalloc/issues/837 .


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/jemalloc/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/jemalloc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/jemalloc/patches/patch-src_pages.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/jemalloc/Makefile
diff -u pkgsrc/devel/jemalloc/Makefile:1.8 pkgsrc/devel/jemalloc/Makefile:1.9
--- pkgsrc/devel/jemalloc/Makefile:1.8  Tue May 16 17:08:10 2017
+++ pkgsrc/devel/jemalloc/Makefile      Wed May 17 16:36:46 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2017/05/16 17:08:10 gson Exp $
+# $NetBSD: Makefile,v 1.9 2017/05/17 16:36:46 gson Exp $
 
 DISTNAME=      jemalloc-4.5.0
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jemalloc/}
 GITHUB_PROJECT=        jemalloc

Index: pkgsrc/devel/jemalloc/distinfo
diff -u pkgsrc/devel/jemalloc/distinfo:1.5 pkgsrc/devel/jemalloc/distinfo:1.6
--- pkgsrc/devel/jemalloc/distinfo:1.5  Mon May 15 07:47:43 2017
+++ pkgsrc/devel/jemalloc/distinfo      Wed May 17 16:36:46 2017
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2017/05/15 07:47:43 gson Exp $
+$NetBSD: distinfo,v 1.6 2017/05/17 16:36:46 gson Exp $
 
 SHA1 (jemalloc-4.5.0.tar.bz2) = e7714d070c623bff9acf682e9d52c930e491acd8
 RMD160 (jemalloc-4.5.0.tar.bz2) = 6acd6c0163d257c7f9941e1b01cf3c5202ca12a4
 SHA512 (jemalloc-4.5.0.tar.bz2) = 76953363fe1007952232220afa1a91da4c1c33c02369b5ad239d8dd1d0792141197c15e8489a8f4cd301b08494e65cadd8ecd34d025cb0285700dd78d7248821
 Size (jemalloc-4.5.0.tar.bz2) = 449992 bytes
 SHA1 (patch-Makefile.in) = 62e04375dec9aab678fed5bc32559deb942e799f
+SHA1 (patch-src_pages.c) = 269ea1da44585caf3635b4b66b85db9e56124f08

Added files:

Index: pkgsrc/devel/jemalloc/patches/patch-src_pages.c
diff -u /dev/null pkgsrc/devel/jemalloc/patches/patch-src_pages.c:1.1
--- /dev/null   Wed May 17 16:36:46 2017
+++ pkgsrc/devel/jemalloc/patches/patch-src_pages.c     Wed May 17 16:36:46 2017
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_pages.c,v 1.1 2017/05/17 16:36:46 gson Exp $
+
+Set os_overcommits to true on NetBSD since NetBSD does overcommit.
+This also has the benefit of not triggering the issue reported in
+https://github.com/jemalloc/jemalloc/issues/837 .
+
+--- src/pages.c.orig   2017-03-01 03:10:36.000000000 +0000
++++ src/pages.c
+@@ -296,6 +296,8 @@ pages_boot(void)
+       if (os_overcommits)
+               mmap_flags |= MAP_NORESERVE;
+ #  endif
++#elif defined __NetBSD__
++      os_overcommits = true;
+ #else
+       os_overcommits = false;
+ #endif



Home | Main Index | Thread Index | Old Index