| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brings in a merge from jemalloc 5.3.0. It's almost fully scripted, except:
Three conflicts resolved by hand:
include/jemalloc/internal/test_hooks.h Use the new name
src/extent.c Use the new code
src/jemalloc.c Use the new code since je_realloc has moved
The script is recorded in FREEBSD-upgrade. The old script did svn
commands that were basically a rebase of our changes. This update has a
series of diff reduction changes before this.
Note: I'd planned on fixing the above three conflicts with commits, but
ran out of time when I did this work in January. I got discouraged when
jemalloc was EOL'd and didn't pick this back up. I did the above by hand
to get this into FreeBSD 15.0
This work is a repeat of the work by Minsoo Choo who did all these
changes and created a pull request. Given the importance of jemalloc, I
audited these changes by redoing them in this series of commits (and
with the script that was checked in). I did this to confince myself and
anybody else in doubt that there was no supply chain attack. The diffs
between this series of commits and Minsoo's work are minor (though the
version skew makes adds some noise). Interested parties can independent
audit each step, I hope. I've listed Minsoo as a co-author since without
his pull request to test again, this wouldn't have been possible.
Thanks to brooks@ for help with getting the jemalloc 3 ABI compat
symbols right.
Co-authored-by: Minsoo Choo <minsoochoo0122@proton.me>
Pull Request: https://github.com/freebsd/freebsd-src/pull/1337
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert r354606 to restore r354605.
Apply one line from jemalloc commit d01b425e5d1e1 in hash_x86_128()
to fix the build with gcc, which only allows a fallthrough attribute
to appear before a case or default label.
Submitted by: jasone in r354605
Discussed with: jasone
Reviewed by: bdrewery
MFC after: never, due to gcc 4.2.1
Relnotes: yes
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D24522
Notes:
svn path=/head/; revision=360233
|
| |
|
|
|
|
|
| |
Compilation fails for non-llvm-based platforms.
Notes:
svn path=/head/; revision=354606
|
| |
|
|
| |
Notes:
svn path=/head/; revision=354605
|
| |
|
|
| |
Notes:
svn path=/head/; revision=333477
|
| |
|
|
| |
Notes:
svn path=/head/; revision=320623
|
| |
|
|
| |
Notes:
svn path=/head/; revision=319971
|
| |
|
|
| |
Notes:
svn path=/head/; revision=314529
|
| |
|
|
| |
Notes:
svn path=/head/; revision=309540
|
| |
|
|
| |
Notes:
svn path=/head/; revision=308473
|
| |
|
|
| |
Notes:
svn path=/head/; revision=301718
|
| |
|
|
| |
Notes:
svn path=/head/; revision=299587
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add missing Symbol.map entry for __aligned_alloc.
Add weak-->strong symbol binding for
{malloc_stats_print,mallctl,mallctlnametomib,mallctlbymib} -->
{__malloc_stats_print,__mallctl,__mallctlnametomib,__mallctlbymib}. These
bindings complete the set necessary to allow applications to replace all
malloc-related symbols.
Notes:
svn path=/head/; revision=296221
|
| |
|
|
| |
Notes:
svn path=/head/; revision=289900
|
| |
|
|
| |
Notes:
svn path=/head/; revision=288090
|
| |
|
|
| |
Notes:
svn path=/head/; revision=286866
|
| |
|
|
| |
Notes:
svn path=/head/; revision=263974
|
| |
|
|
| |
Notes:
svn path=/head/; revision=262521
|
| |
|
|
| |
Notes:
svn path=/head/; revision=261071
|
| |
|
|
| |
Notes:
svn path=/head/; revision=256823
|
| |
|
|
| |
Notes:
svn path=/head/; revision=251300
|
| |
|
|
|
|
|
| |
non-MALLOC_PRODUCTION builds.
Notes:
svn path=/head/; revision=245868
|
| |
|
|
| |
Notes:
svn path=/head/; revision=242844
|
| |
|
|
|
|
|
|
| |
jemalloc assertion failures for debug builds, or as calloc() sometimes
returning non-zeroed memory for production builds.
Notes:
svn path=/head/; revision=235322
|
| |
|
|
|
|
|
|
| |
prior to 3.0.0 release). This version is likely very close to what will be
3.0.0.
Notes:
svn path=/head/; revision=235238
|
| |
|
|
|
|
|
|
|
|
|
|
| |
prior to 3.0.0 release). This fixes several bugs related to memory
initialization.
Mangle __jemalloc_a0{malloc,calloc,free}() just like all the other
library-internal symbols in jemalloc, and adjust the tls allocation code
in libc to use the mangled names.
Notes:
svn path=/head/; revision=234569
|
| |
|
|
|
|
|
| |
prior to 3.0.0 release), and mangle internal symbols.
Notes:
svn path=/head/; revision=234543
|
|
|
prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc.
The code being imported by this commit diverged from
lib/libc/stdlib/malloc.c in March 2010, which means that a portion of
the jemalloc 1.0.0 ChangeLog entries are relevant, as are the entries
for all subsequent releases.
Notes:
svn path=/head/; revision=234370
|