From owner-svn-src-head@freebsd.org Tue Aug 18 04:36:00 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BFC89BB3CF for ; Tue, 18 Aug 2015 04:36:00 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from vfemail.net (ninezero.vfemail.net [96.30.253.190]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F3551ACC for ; Tue, 18 Aug 2015 04:35:59 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: (qmail 99970 invoked by uid 89); 18 Aug 2015 04:35:53 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 18 Aug 2015 04:35:53 -0000 Received: (qmail 99948 invoked by uid 89); 18 Aug 2015 04:35:35 -0000 Received: by simscan 1.3.1 ppid: 99940, pid: 99944, t: 0.0041s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 18 Aug 2015 04:35:35 -0000 Received: (qmail 4135 invoked by uid 89); 18 Aug 2015 04:35:35 -0000 Received: by simscan 1.4.0 ppid: 4122, pid: 4132, t: 0.7762s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 18 Aug 2015 04:35:34 -0000 From: Jan Beich To: Jason Evans 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/... References: <201508180021.t7I0LQwE016289@repo.freebsd.org> Date: Tue, 18 Aug 2015 06:35:21 +0200 In-Reply-To: <201508180021.t7I0LQwE016289@repo.freebsd.org> (Jason Evans's message of "Tue, 18 Aug 2015 00:21:26 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2015 04:36:00 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Jason Evans 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----- --=-=-=--