Commit graph

344 commits

Author SHA1 Message Date
Daan
d8b7456a1f Merge branch 'dev' into dev3 2025-06-06 21:23:10 -07:00
Daan
d7d6c3b5c3 fix assertion 2025-06-06 21:22:44 -07:00
Daan
e19f08aefe Merge branch 'dev' into dev3 2025-06-06 21:10:09 -07:00
Daan
57830a4b25 fix assertion in mi_os_ensure_zero 2025-06-06 21:09:32 -07:00
Daan
eeab42be46 use mi_os_zalloc for submaps 2025-06-06 21:04:24 -07:00
Daan
2f0540c4f9 add _mi_os_zalloc 2025-06-06 20:50:50 -07:00
Daan
a067bd42ae merge from dev (support for mi_prim_reuse, #1097) 2025-06-06 18:05:13 -07:00
Daan
d389819cc9 add initial support for _mi_prim_reuse and MADV_FREE_REUSABLE on macOS (issue #1097) 2025-06-06 17:59:46 -07:00
Daan
6c3d75a355 fix base address if commit fails on aligned overallocation 2025-06-06 15:13:43 -07:00
Daan
21425bc334 check all os_commit calls and return NULL on failure 2025-06-06 15:13:43 -07:00
Daan
30a17bf1b7 fix missing csize assignment in _mi_os_free_ex 2025-06-06 15:13:43 -07:00
daanx
7c7ecf096f ensure use of subproc_main during unsafe destroy to avoid derefercing the heap 2025-06-06 11:49:44 -07:00
Daan
488304053e merge from dev; check all os_commit calls 2025-06-03 15:26:41 -07:00
Daan
a0072ba7c3 fix base address if commit fails on aligned overallocation 2025-06-03 15:07:15 -07:00
Daan
60f7e6a6a8 check all os_commit calls and return NULL on failure 2025-06-03 15:03:47 -07:00
Daan
1c51484799 fix missing csize assignment in _mi_os_free_ex 2025-06-03 13:59:14 -07:00
daanx
550b628358 merge from dev 2025-05-28 08:38:54 -07:00
daanx
3e32b4c385 fix OS allocation size tracking in the memid 2025-05-28 08:37:34 -07:00
daanx
90da648b08 merge from dev 2025-05-02 16:28:57 -07:00
daanx
6bfb1c656c allow size==0 for mi_prim_free (issue #1041) 2025-05-02 08:40:21 -07:00
daanx
26e4632287 merge from dev 2025-04-02 10:45:18 -07:00
daanx
235a0390ee refactor numa_node_count 2025-04-02 10:34:00 -07:00
Daan
f735e6e6b5 move arena_t definition to types.h 2025-03-14 10:22:08 -07:00
daanx
d1d01deea7 add support for custom commit in arena loading 2025-03-10 18:11:27 -07:00
daanx
ad52fc1b7e fix type 2025-03-05 16:09:22 -08:00
daanx
119f2eff6c use int for numa node count 2025-03-05 09:51:40 -08:00
Daan
c1cbe71836 add numa-affine allocation, and per-heap numa affinity 2025-03-03 18:08:57 -08:00
Daan Leijen
6e0af52c95 merge new statistics from dev 2025-03-02 16:08:50 -08:00
daanx
02b97b6891 merge from dev 2025-02-11 09:21:48 -08:00
daanx
ec4aa62b65 use physical memory in kib to avoid overflow of size_t (issue #1010) 2025-02-11 09:12:29 -08:00
daanx
8339cefdeb fix stats for delay purge commit 2024-12-25 11:45:01 -08:00
daanx
587e08ccd4 improve commit stats 2024-12-25 11:12:26 -08:00
daanx
cfe73e9d48 wip: merging from upstream 2024-12-25 10:56:43 -08:00
Daan Leijen
016b36d917 fix max va bits on unix 2024-12-24 12:10:34 -08:00
daanx
d21114b5f2 improve page commit on demand 2024-12-24 11:37:52 -08:00
daanx
b515a0ad4c add _mi_os_guard_page_size 2024-12-23 16:28:34 -08:00
daanx
773fe7ae5b support full secure build 2024-12-22 17:25:58 -08:00
daanx
dece8a587b make stats part of a subproc 2024-12-21 10:43:08 -08:00
daanx
94ce342ea9 maintain pages set for arenas; improve arena load/unload 2024-12-11 22:06:25 -08:00
daanx
aed76f2910 wip: allow arena (re)loading 2024-12-11 20:34:23 -08:00
Daan
2556a2022d fix missing void 2024-12-09 20:50:00 -08:00
daanx
d5ed0cc71e various improvements 2024-12-09 14:31:43 -08:00
daanx
c8607a8d01 remove os_tld and stats parameters to os interface 2024-12-08 17:56:13 -08:00
daanx
2084df3dde add dedicated meta data allocation for threads and tld 2024-12-08 12:20:54 -08:00
daanx
5a06d2aeba update bit primitives 2024-12-08 09:03:25 -08:00
daanx
70115d8b8c small fixes 2024-12-06 23:25:53 -08:00
daanx
659a9dd51d fix page info size and order; atomic page flags 2024-12-06 22:37:59 -08:00
daanx
8d9c725482 increase MAX_OBJ_SLICES to a full chunk (32MiB) 2024-12-03 17:27:43 -08:00
daanx
fe5a314114 add base and size to OS memid 2024-12-02 19:31:36 -08:00
daanx
1d7a9f62a5 bug fixes 2024-12-01 12:54:16 -08:00