mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-06 10:26:18 +03:00
Introduce pinned extents to contain unpurgeable pages
Some pages (e.g., hugetlb pages) cannot be purged, and need to be prioritized for reusing. For now, this comes from arenas with custom extent hooks. The lowest bit of the alloc hook is borrowed as a flag bit to indicate that the extent is considered pinned.
This commit is contained in:
parent
6515df8cec
commit
5459e20f59
18 changed files with 485 additions and 50 deletions
|
|
@ -242,6 +242,7 @@ TESTS_UNIT := \
|
|||
$(srcroot)test/unit/hpa_vectorized_madvise_large_batch.c \
|
||||
$(srcroot)test/unit/hpa_background_thread.c \
|
||||
$(srcroot)test/unit/hpdata.c \
|
||||
$(srcroot)test/unit/extent_alloc_flags.c \
|
||||
$(srcroot)test/unit/huge.c \
|
||||
$(srcroot)test/unit/inspect.c \
|
||||
$(srcroot)test/unit/junk.c \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue