Daan Leijen
|
189b0ac416
|
count commit stats only if the commit succeeded
|
2025-06-13 09:29:18 -07:00 |
|
Daan
|
d7d6c3b5c3
|
fix assertion
|
2025-06-06 21:22:44 -07:00 |
|
Daan
|
57830a4b25
|
fix assertion in mi_os_ensure_zero
|
2025-06-06 21:09:32 -07:00 |
|
Daan
|
2f0540c4f9
|
add _mi_os_zalloc
|
2025-06-06 20:50:50 -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
|
3e32b4c385
|
fix OS allocation size tracking in the memid
|
2025-05-28 08:37:34 -07:00 |
|
daanx
|
6bfb1c656c
|
allow size==0 for mi_prim_free (issue #1041)
|
2025-05-02 08:40:21 -07:00 |
|
daanx
|
235a0390ee
|
refactor numa_node_count
|
2025-04-02 10:34:00 -07: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
|
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
|
2556a2022d
|
fix missing void
|
2024-12-09 20:50:00 -08:00 |
|
daanx
|
c8607a8d01
|
remove os_tld and stats parameters to os interface
|
2024-12-08 17:56:13 -08:00 |
|
daanx
|
b8dc09e3d2
|
fix asan with MI_GUARDED
|
2024-11-17 22:56:26 -08:00 |
|
daanx
|
0e76fe3798
|
add address hint to primitive allocation API
|
2024-11-16 16:57:37 -08:00 |
|
daanx
|
b27d154ffd
|
add virtual address bits and physical memory to the mem config
|
2024-11-16 15:37:08 -08:00 |
|
Daan
|
b3828bba9e
|
disable aligned hinting or SV39 mmu's, issue #939, and pr #949
|
2024-10-27 21:58:20 -07:00 |
|
daanx
|
a964322a21
|
revise the segment map to only apply to OS allocated segments and reduce the .BSS footprint
|
2024-06-02 14:46:59 -07:00 |
|
Daan
|
a38c8dd0f9
|
rename must_free_whole -> has_partial_free
|
2024-05-16 14:41:10 -07:00 |
|
Daan Leijen
|
6688b45fbd
|
rename MI_ALIGNMENT_MAX to MI_BLOCK_ALIGNMENT_MAX for clarity
|
2024-03-24 10:57:02 -07:00 |
|
Daan
|
fa10914f73
|
track os stats in the main stats directly
|
2024-03-03 13:19:27 -08:00 |
|
Daan
|
e1f6516fda
|
Fix undefined symbol errors when building for wasi #758, by @anuraaga
|
2024-03-02 17:05:29 -08:00 |
|
daanx
|
4b2f6448cb
|
fix asan memory tracking for zero initialized memory
|
2023-04-23 19:45:29 -07:00 |
|
daanx
|
7f93bf02c9
|
be explicit about memory tracking in os.c
|
2023-04-23 16:40:01 -07:00 |
|
daanx
|
c9dd6f6dc9
|
fix mem tracking for asan
|
2023-04-23 16:06:58 -07:00 |
|
daanx
|
a59ae585c7
|
remove allow_purge option
|
2023-04-23 13:04:50 -07:00 |
|
daanx
|
012f716485
|
add is_zero flag to prim_commit
|
2023-04-21 10:37:22 -07:00 |
|
daanx
|
e6f3647556
|
track os alignment and base
|
2023-04-18 19:00:50 -07:00 |
|
daanx
|
b845be241a
|
wip: use memid for OS allocation
|
2023-04-18 16:38:47 -07:00 |
|
daanx
|
a655c28b66
|
cleanup
|
2023-04-16 12:29:21 -07:00 |
|
daanx
|
d48b988c40
|
clean up os api
|
2023-04-16 11:21:45 -07:00 |
|
daanx
|
8027fcfecd
|
Merge branch 'dev' into dev-reset
|
2023-04-15 17:59:01 -07:00 |
|
Daan
|
f30b302895
|
address concern #721
|
2023-04-14 09:51:28 -07:00 |
|
daanx
|
cdefd5b69c
|
fix stats for purging
|
2023-04-05 11:11:03 -07:00 |
|
daanx
|
96e9e6f570
|
clean up option naming
|
2023-04-05 10:11:54 -07:00 |
|
daanx
|
55df1f3a54
|
more detailed stats, including purges
|
2023-04-05 09:48:22 -07:00 |
|
daanx
|
cb0369452d
|
use exponetially sized arenas
|
2023-04-04 17:54:33 -07:00 |
|
daanx
|
d01017ffda
|
extend primitive api with is_zero parameters
|
2023-04-04 16:32:39 -07:00 |
|
daanx
|
1d231be758
|
clarify needs_recommit
|
2023-04-04 13:05:48 -07:00 |
|
daanx
|
5c39fe7246
|
decommit returns whether re-commit is needed
|
2023-04-04 12:57:18 -07:00 |
|
daanx
|
449aad0635
|
wip: purgeable arenas; update option names and improve arena reservation
|
2023-04-04 12:15:57 -07:00 |
|
Daan Leijen
|
cc4ed36c7e
|
prepare for new release
|
2023-04-03 12:30:18 -07:00 |
|
Daan Leijen
|
1cb0193ff1
|
fix hex formatting of errors
|
2023-03-29 13:00:35 -07:00 |
|
Daan Leijen
|
8e6a475386
|
add ubsan and tsan to pipeline
|
2023-03-29 12:13:59 -07:00 |
|
Daan Leijen
|
c9dcca6a64
|
update comments
|
2023-03-22 10:31:04 -07:00 |
|
Daan Leijen
|
70fefec837
|
fix huge OS page count when a timeout happens (issue #711)
|
2023-03-21 19:42:25 -07:00 |
|
Daan Leijen
|
f58357548c
|
restructure header files
|
2023-03-20 10:37:39 -07:00 |
|