]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make jemalloc(3) default to retain:true on 64-bit platforms,
authortrasz <trasz@FreeBSD.org>
Tue, 31 Mar 2020 13:48:06 +0000 (13:48 +0000)
committertrasz <trasz@FreeBSD.org>
Tue, 31 Mar 2020 13:48:06 +0000 (13:48 +0000)
commit19a4fb18c14dfc15c64a693797191af86c361954
treeb90c24c5b4e9844ead85c7fde59733e8a60d9a20
parent3ba4feb405a4202a43a93f8a0a9b47f46f1a52c2
Make jemalloc(3) default to retain:true on 64-bit platforms,
like it already does on Linux and OSX.  This results in significantly
fewer calls to mmap(2).  This should result in a small reduction
in system CPU time and improved superpage usage.

Reviewed by: markj
Tested by: markj
MFC after: 2 weeks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D23874
contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h