History log of /src/contrib/jemalloc/include/jemalloc/internal/hash.h (Results 1 – 25 of 105)
Revision Date Author Comments
# c43cad87 11-Aug-2025 Warner Losh <imp@FreeBSD.org>

jemalloc: Merge from jemalloc 5.3.0 vendor branch

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_h

jemalloc: Merge from jemalloc 5.3.0 vendor branch

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

show more ...


# 70236f02 15-Dec-2024 Warner Losh <imp@FreeBSD.org>

Revert "jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH"

This reverts commit 7bcf5319c1106b761bcb2a4facfeccf1b9db758d.

Turns out this is needed for gcc, at least through gcc 14

Revert "jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH"

This reverts commit 7bcf5319c1106b761bcb2a4facfeccf1b9db758d.

Turns out this is needed for gcc, at least through gcc 14. This wasn't
documented it the import when it came in, so revert with this note.

Sponsored by: Netflix

show more ...


# 7bcf5319 13-Dec-2024 Warner Losh <imp@FreeBSD.org>

jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH

In the import of 5.2.1 (c5ad81420c495), JEMALLOC_FALLTHROUGH was changed
to break (judging by the tagged upstream sources). This

jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH

In the import of 5.2.1 (c5ad81420c495), JEMALLOC_FALLTHROUGH was changed
to break (judging by the tagged upstream sources). This changes it back
to upstream. No functional change: this is just a textual change (though
the fallthrough macro doesn't expand to break).

Sponsored by: Netflix

show more ...


# c5ad8142 23-Apr-2020 Eric van Gyzen <vangyzen@FreeBSD.org>

Update jemalloc to version 5.2.1

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 at

Update jemalloc to version 5.2.1

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

show more ...


# f2cb2907 11-Nov-2019 Jason Evans <jasone@FreeBSD.org>

Revert r354605: Update jemalloc to version 5.2.1.

Compilation fails for non-llvm-based platforms.


# e1c167d0 11-Nov-2019 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to version 5.2.1.


# c43cad87 11-Aug-2025 Warner Losh <imp@FreeBSD.org>

jemalloc: Merge from jemalloc 5.3.0 vendor branch

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_h

jemalloc: Merge from jemalloc 5.3.0 vendor branch

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

show more ...


# 70236f02 15-Dec-2024 Warner Losh <imp@FreeBSD.org>

Revert "jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH"

This reverts commit 7bcf5319c1106b761bcb2a4facfeccf1b9db758d.

Turns out this is needed for gcc, at least through gcc 14

Revert "jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH"

This reverts commit 7bcf5319c1106b761bcb2a4facfeccf1b9db758d.

Turns out this is needed for gcc, at least through gcc 14. This wasn't
documented it the import when it came in, so revert with this note.

Sponsored by: Netflix

show more ...


# 7bcf5319 13-Dec-2024 Warner Losh <imp@FreeBSD.org>

jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH

In the import of 5.2.1 (c5ad81420c495), JEMALLOC_FALLTHROUGH was changed
to break (judging by the tagged upstream sources). This

jemalloc: Reduce diffs to 5.2.1 revert to using JEMALLOC_FALLTHROUGH

In the import of 5.2.1 (c5ad81420c495), JEMALLOC_FALLTHROUGH was changed
to break (judging by the tagged upstream sources). This changes it back
to upstream. No functional change: this is just a textual change (though
the fallthrough macro doesn't expand to break).

Sponsored by: Netflix

show more ...


# c5ad8142 23-Apr-2020 Eric van Gyzen <vangyzen@FreeBSD.org>

Update jemalloc to version 5.2.1

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 at

Update jemalloc to version 5.2.1

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

show more ...


# f2cb2907 11-Nov-2019 Jason Evans <jasone@FreeBSD.org>

Revert r354605: Update jemalloc to version 5.2.1.

Compilation fails for non-llvm-based platforms.


# e1c167d0 11-Nov-2019 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to version 5.2.1.


# 0ef50b4e 11-May-2018 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to version 5.1.0.


# 4198293b 17-Jun-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r319801 through r320041.


# b7eaed25 15-Jun-2017 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to 5.0.0.


# 1f0a49e8 13-May-2016 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to 4.2.0.


# 82aa34e6 03-Mar-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r296007 through r296368.


# 52259a98 02-Mar-2016 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: The FreeBSD Foundation


# df0d881d 29-Feb-2016 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to 4.1.0.

Add missing Symbol.map entry for __aligned_alloc.

Add weak-->strong symbol binding for
{malloc_stats_print,mallctl,mallctlnametomib,mallctlbymib} -->
{__malloc_stats_print

Update jemalloc to 4.1.0.

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.

show more ...


# 11d38a57 28-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head

Sponsored by: Gandi.net


# f94594b3 12-Sep-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Finish merging from head, messed up in previous attempt


# 00176600 09-Sep-2015 Navdeep Parhar <np@FreeBSD.org>

Merge r286744-r287584 from head.


# d9442b10 05-Sep-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r286858 through r287489.


# 23a32822 25-Aug-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from HEAD


# d0e79aa3 18-Aug-2015 Jason Evans <jasone@FreeBSD.org>

Update jemalloc to version 4.0.0.


12345