jemalloc: Merge from jemalloc 5.3.0 vendor branchThis brings in a merge from jemalloc 5.3.0. It's almost fully scripted, except: Three conflicts resolved by hand: include/jemalloc/internal/test_h
jemalloc: Merge from jemalloc 5.3.0 vendor branchThis 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 movedThe script is recorded in FREEBSD-upgrade. The old script did svncommands that were basically a rebase of our changes. This update has aseries of diff reduction changes before this.Note: I'd planned on fixing the above three conflicts with commits, butran out of time when I did this work in January. I got discouraged whenjemalloc was EOL'd and didn't pick this back up. I did the above by handto get this into FreeBSD 15.0This work is a repeat of the work by Minsoo Choo who did all thesechanges and created a pull request. Given the importance of jemalloc, Iaudited these changes by redoing them in this series of commits (andwith the script that was checked in). I did this to confince myself andanybody else in doubt that there was no supply chain attack. The diffsbetween this series of commits and Minsoo's work are minor (though theversion skew makes adds some noise). Interested parties can independentaudit each step, I hope. I've listed Minsoo as a co-author since withouthis pull request to test again, this wouldn't have been possible.Thanks to brooks@ for help with getting the jemalloc 3 ABI compatsymbols right.Co-authored-by: Minsoo Choo <minsoochoo0122@proton.me>Pull Request: https://github.com/freebsd/freebsd-src/pull/1337Sponsored by: Netflix
show more ...
jemalloc: Move generated files into lib/libc treeMake it easire to update jemalloc by moving the FreeBSD specific filesand the generated files into lib/libc. This allows us to regenerate themmore
jemalloc: Move generated files into lib/libc treeMake it easire to update jemalloc by moving the FreeBSD specific filesand the generated files into lib/libc. This allows us to regenerate themmore easily, and emphasizes a bit that we may have to regenerate stufffrom upstream.This is necessary to also unthin the import from the vendor branch aswell (which will be needed to simplify the imports in the future sincewe are trying to use contrib/jemalloc for two different things).No functional change.Sponsored by: Netflix