Date: Tue, 18 Aug 2015 06:35:21 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Jason Evans <jasone@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r286866 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src include lib/libc/gen lib/libc/... Message-ID: <pp2l-jjsm-wny@FreeBSD.org> In-Reply-To: <201508180021.t7I0LQwE016289@repo.freebsd.org> (Jason Evans's message of "Tue, 18 Aug 2015 00:21:26 %2B0000 (UTC)") References: <201508180021.t7I0LQwE016289@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Jason Evans <jasone@FreeBSD.org> writes: > Author: jasone > Date: Tue Aug 18 00:21:25 2015 > New Revision: 286866 > URL: https://svnweb.freebsd.org/changeset/base/286866 > > Log: > Update jemalloc to version 4.0.0. Can you bump __FreeBSD_version for non-standard API changes? Some ports like www/firefox may want to take advantage of it without complicating configure scripts. > + - Add sdallocx(), which implements sized deallocation. The primary > + optimization over dallocx() is the removal of a metadata read, which= often > + suffers an L1 cache miss. [...] >+ - Remove the *allocm() API, which is superseded by the *allocx() API. Symbol.map and manpages haven't been updated. $ nm -D /lib/libc.so.7 | fgrep sdalloc Index: lib/libc/stdlib/jemalloc/Makefile.inc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- lib/libc/stdlib/jemalloc/Makefile.inc (revision 285602) +++ lib/libc/stdlib/jemalloc/Makefile.inc (working copy) @@ -39,12 +39,8 @@ MLINKS+=3D \ jemalloc.3 xallocx.3 \ jemalloc.3 sallocx.3 \ jemalloc.3 dallocx.3 \ + jemalloc.3 sdallocx.3 \ jemalloc.3 nallocx.3 \ =2D jemalloc.3 allocm.3 \ =2D jemalloc.3 rallocm.3 \ =2D jemalloc.3 sallocm.3 \ =2D jemalloc.3 dallocm.3 \ =2D jemalloc.3 nallocm.3 \ jemalloc.3 malloc.conf.5 =20 .if defined(MALLOC_PRODUCTION) Index: lib/libc/stdlib/jemalloc/Symbol.map =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- lib/libc/stdlib/jemalloc/Symbol.map (revision 285602) +++ lib/libc/stdlib/jemalloc/Symbol.map (working copy) @@ -51,6 +51,11 @@ FBSD_1.3 { __nallocm; }; =20 +FBSD_1.4 { + sdallocx; + __sdallocx; +}; + FBSDprivate_1.0 { _malloc_thread_cleanup; _malloc_prefork; --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJV0rYJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b0wUIAI99rKCt2tpipJ8Dup4LhJYo eTjiG72lei0fDX9dObTNVpf+hZoyBoZ8WGf+5YLeIw3jk+0xIJ2DSCaMIjnthus7 K+6IcnmfL1Bk8JC3n9YhsJIVngeG05YPK+Ah+UH5v6qFVBlVqWG+ynL1oti3Cidv /AlLoydOccEgg42V6HnVRVwAn3wmCVmag4JP1qEmo3rto4WwU2iY1/sjEFw/9w4r cWvcAnC5c/wadxxCGeKPvhcbHyd8Sc365pMzM3NGQoemjMeSYcwwVJn76IuoPlO/ QHMbrO+x8q1NLcj98BMTGMBnIXw0kzKUP6gI5jFvLEPVtNU2E4yzSh2pOyKWDF8= =v2HX -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pp2l-jjsm-wny>