Daan Leijen
|
59eeeadc34
|
only allow page_reclaim_on_free for small block pages
|
2025-02-04 12:26:21 -08:00 |
|
Daan Leijen
|
274bcb61db
|
update option names
|
2025-01-31 12:11:25 -08:00 |
|
Daan Leijen
|
061ef80de7
|
clarify allow_destroy
|
2025-01-07 21:39:11 -08:00 |
|
Daan Leijen
|
46ae913f22
|
bump version to 3.0.1 for further development
|
2025-01-03 18:43:38 -08:00 |
|
Daan Leijen
|
6099f76c8c
|
nicer logic in free
|
2025-01-03 14:26:32 -08:00 |
|
Daan Leijen
|
b6adbbca0c
|
combine flags and xthread_id
|
2025-01-03 13:15:46 -08:00 |
|
daanx
|
f72ac7a5aa
|
add attr_noexept for better codegen on msvc
|
2024-12-26 10:28:36 -08:00 |
|
daanx
|
db82baf1a8
|
cleanup, some renaming
|
2024-12-22 18:09:16 -08:00 |
|
daanx
|
93fa8d895a
|
revert back to flat address map
|
2024-12-22 12:18:53 -08:00 |
|
daanx
|
dece8a587b
|
make stats part of a subproc
|
2024-12-21 10:43:08 -08:00 |
|
daanx
|
a5b7d7f264
|
subprocesses own arena's
|
2024-12-20 21:38:31 -08:00 |
|
daanx
|
ccf5e36e6b
|
use frac 8 for reclaim_on_free and reabandon; halve full_page_retain if running in a threadpool
|
2024-12-11 16:26:39 -08:00 |
|
Daan
|
8f5449d271
|
various fixes for test pipeline
|
2024-12-09 15:39:15 -08:00 |
|
daanx
|
d5ed0cc71e
|
various improvements
|
2024-12-09 14:31:43 -08:00 |
|
daanx
|
c33de86da3
|
check for running in a threadpool to disable page reclaim
|
2024-12-07 17:11:11 -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
|
7443ee317e
|
tune free-ing and abandoning
|
2024-12-05 17:00:23 -08:00 |
|
daanx
|
afe9089152
|
more documentation; better pairmap find_and_set_to_busy, busy flag is now 0x10
|
2024-12-04 19:15:55 -08:00 |
|
daanx
|
3fc2c8e279
|
fix assertions
|
2024-12-03 11:06:07 -08:00 |
|
daanx
|
666c089fc8
|
revise free reclaim; ensure unown cannot race with a free
|
2024-12-03 10:51:13 -08:00 |
|
daanx
|
833b091ff9
|
can run the full test suite
|
2024-12-02 20:25:44 -08:00 |
|
daanx
|
5e95ebc7a0
|
fix free stats
|
2024-12-02 17:46:41 -08:00 |
|
daanx
|
c9abfe8253
|
wip: can run mstress
|
2024-12-02 16:24:40 -08:00 |
|
daanx
|
d96c134566
|
wip: initial version with eager abandonment
|
2024-12-02 16:01:45 -08:00 |
|
daanx
|
69ac69abac
|
wip: use epoch with 512bit chunks
|
2024-12-02 00:31:08 -08:00 |
|
daanx
|
2f789aae9a
|
wip: cannot compile
|
2024-12-01 16:26:59 -08:00 |
|
daanx
|
1d7a9f62a5
|
bug fixes
|
2024-12-01 12:54:16 -08:00 |
|
daanx
|
9ebe941ce0
|
first version that passes the make test
|
2024-11-30 20:21:32 -08:00 |
|
daanx
|
55b70f1588
|
wip
|
2024-11-30 14:00:07 -08:00 |
|
daanx
|
68f5fb2f4b
|
wip: further progress on segment removal; arena allocation
|
2024-11-29 15:08:06 -08:00 |
|
daanx
|
441d4fed9f
|
wip: further progress on removing segments
|
2024-11-29 10:40:18 -08:00 |
|
daanx
|
d57cb0765d
|
add guarded objects that are sampled (and fit a size range). guarded sample rate etc can be set per heap as well as defaulted with options
|
2024-11-17 22:45:09 -08:00 |
|
daanx
|
8b6017d976
|
rename mi_debug_guarded_ to mi_guarded_
|
2024-11-16 22:42:32 -08:00 |
|
daanx
|
498c92e348
|
update guarded implementation to use block tags
|
2024-11-16 21:15:50 -08:00 |
|
Daan
|
5f35933331
|
add 0 byte to canary to prevent spurious read overflow to read the canary (issue #951, pr #953)
|
2024-10-27 21:39:07 -07:00 |
|
Daan
|
ee92b337b9
|
do not reclaim segments if free-ing from a thread with an already abandoned heap (issue #944)
|
2024-10-24 00:13:07 -07:00 |
|
daanx
|
8899a11c70
|
clean up guarded pages code
|
2024-08-20 11:09:17 -07:00 |
|
daanx
|
635cf7af6a
|
fix multi-threaded free to unprotect guarded blocks
|
2024-08-20 09:55:57 -07:00 |
|
daanx
|
0c19eb60cf
|
initial working guarded pages
|
2024-08-19 21:21:40 -07:00 |
|
daanx
|
f7ba9d9da0
|
refactor arena-abandoned to be an include for backward compat with existing build scripts
|
2024-06-03 18:04:59 -07:00 |
|
daanx
|
d9aa19a763
|
add support for sub-processes (to supportpython/cpython#113717)
|
2024-06-01 15:57:18 -07:00 |
|
Daan
|
88aa84727d
|
fix spelling errors (pr #710)
|
2024-04-20 17:12:09 -07:00 |
|
Daan
|
a522899236
|
fix compilation with ASAN
|
2024-03-25 16:32:19 -07:00 |
|
Daan
|
1d8997236c
|
add comment on concurrent access in ptr_unalign
|
2024-03-25 16:28:15 -07:00 |
|
Daan Leijen
|
460278f110
|
comments
|
2024-03-25 16:02:20 -07:00 |
|
Daan Leijen
|
9c96d05ee4
|
abandoned reclaim on free is on by default
|
2024-03-24 14:52:50 -07:00 |
|
Daan Leijen
|
a8a53e3e85
|
fix double counting of free-ing for non-thread-local free calls
|
2024-03-24 14:50:15 -07:00 |
|
Daan Leijen
|
b5665f0eec
|
add full block_size and page_start to page info
|
2024-03-24 14:17:17 -07:00 |
|
Daan Leijen
|
07ae64bd81
|
faster check for NULL in mi_free by combining with masking
|
2024-03-24 10:39:22 -07:00 |
|