Commit Graph

11 Commits

Author SHA1 Message Date
Martin Weinelt
dcccfa9039 jemalloc: 5.3.1 -> 5.4.0
https://github.com/jemalloc/jemalloc/compare/5.3.1...5.4.0
2026-09-24 16:17:59 +02:00
Stefan Frijters
3dda88ce77 jemalloc: enable structuredAttrs 2026-08-14 22:53:59 +02:00
Stefan Frijters
003028cfc5 jemalloc: enable strictDeps
We need bashNonInteractive because scripts need to have their interpreter line patched.
2026-08-14 22:53:36 +02:00
whispers
f5248277bd jemalloc: add patch to fix build under gcc 16
jemalloc used the nonstandard `std::__throw_bad_alloc`, which is no
longer visible in GCC 16. this upstream patch makes it conditional on
exceptions and defers to either `throw std::bad_alloc()` or
`std::terminate` as appropriate, and fixes the build.
2026-07-20 17:49:31 -04:00
Ihar Hrachyshka
95b1a21908 jemalloc: skip extent test with profiling enabled
This fixes rust-jemalloc-sys build on darwin.

Linux builds pass only when overcommit is enabled in kernel, so it's
better to disable it for both platforms.

See: https://github.com/jemalloc/jemalloc/pull/2954

Assisted-by: Codex gpt-5.5 xhigh
2026-07-10 00:22:06 -04:00
Cathal Mullan
d1e81cb2d5 jemalloc: enable heap profiling by default 2026-07-01 18:22:32 +01:00
Martin Weinelt
7cbfe30269 jemalloc: fix src hash after 5.3.1 re-tag
The original tarball is not in my store anymore, so I was unable to find
out what changed.
2026-04-26 10:32:42 +02:00
Martin Weinelt
cbb85a5622 jemalloc: 5.3.0-unstable-2025-09-12 -> 5.3.1
https://github.com/jemalloc/jemalloc/releases/tag/5.3.1
2026-04-14 01:57:08 +02:00
Amaan Qureshi
e29eca25fc jemalloc: add overridable pageSizeKiB argument
This commit exposes the page size as an overridable `pageSizeKiB` argument
instead of hardcoding the lg-page logic inline. This lets users tune
jemalloc for their specific kernel page size via an overlay, e.g.
`jemalloc.override { pageSizeKiB = 4; }` for 4KB-page kernels on a platform
that ordinarily would have 64KB pages.
2026-03-10 02:41:18 -04:00
Amaan Qureshi
16d93cfd9f jemalloc: default to 64KB page size on ppc64
Most ppc64 kernels default to 64KB pages, for example, Fedora, SUSE,
Arch POWER, and the upstream kernel itself (for Book3S, i.e. POWER4+)
all ship with `CONFIG_PPC_64K_PAGES=y`, however, NixOS forces 4KB
pages via `PPC_4K_PAGES`. A higher `--with-lg-page` is
forward-compatible with lower page sizes but may waste some memory, so
this commit trades a small amount of memory for broader build-host
compatibility.
2026-03-10 02:13:45 -04:00
quantenzitrone
40c073e19e {jemalloc,rust-jemalloc-sys}: move to pkgs/by-name
this shouldn't create any rebuilds
2026-01-21 00:54:19 +01:00