jemalloc/test
Bin Liu be2de8ccd8 Introduce pinned extents to contain unpurgeable pages
Some pages (e.g., hugetlb pages) cannot be purged, and should be
prioritized for reuse.  A custom extent_alloc hook signals this by
OR'ing EXTENT_ALLOC_FLAG_PINNED into the low bits of the returned
pointer; jemalloc strips the flag bits and caches pinned extents in
a dedicated ecache_pinned, separate from the dirty/muzzy decay
pipeline.

Pinned extents do not coalesce eagerly, except for ones larger than
SC_LARGE_MINCLASS.  A prefer-small policy reuses the smallest fitting
pinned extent, to avoid unnecessary split/fragmentation.
2026-05-05 10:44:28 -07:00
..
analyze Revert PR #2608: Manually revert commits 70c94d..f9c0b5 2026-03-10 18:14:33 -07:00
include/test Run single subtest from a test file 2026-03-10 18:14:33 -07:00
integration Reformat the codebase with the clang-format 18. 2026-03-10 18:14:33 -07:00
src Run single subtest from a test file 2026-03-10 18:14:33 -07:00
stress Add configurable HPA opts, shard count override, and bump MAX_ALLOCATIONS 2026-04-30 17:48:32 -04:00
unit Introduce pinned extents to contain unpurgeable pages 2026-05-05 10:44:28 -07:00
test.sh.in Renaming limit_usize_gap to disable_large_size_classes 2025-05-06 14:47:35 -07:00