Daan Leijen
|
cd6737a1ee
|
merge from dev
|
2025-03-01 19:58:44 -08:00 |
|
Daan Leijen
|
bc5f636c5e
|
nicer stats
|
2025-03-01 19:46:01 -08:00 |
|
Daan Leijen
|
fab7397e6b
|
merge from dev
|
2025-01-07 19:34:24 -08:00 |
|
Daan Leijen
|
195249e6bf
|
maintain precise try count for reclaim
|
2025-01-07 19:28:44 -08:00 |
|
Daan Leijen
|
7ebdfac18b
|
merge from dev
|
2024-12-31 14:20:00 -08:00 |
|
Daan
|
f33aa58d88
|
Merge branch 'dev' into dev
|
2024-12-30 12:27:46 -08:00 |
|
daanx
|
34cdf1a49f
|
fix eager delayed setting
|
2024-12-25 13:56:38 -08:00 |
|
Daan Leijen
|
806bf8ea7e
|
merge from dev
|
2024-12-16 23:44:56 -08:00 |
|
daanx
|
c8607a8d01
|
remove os_tld and stats parameters to os interface
|
2024-12-08 17:56:13 -08:00 |
|
daanx
|
25f84f5fd1
|
merge from dev-steal
|
2024-11-25 19:17:25 -08:00 |
|
daanx
|
7673aa2517
|
ensure forced abandoned pages can be accessed after free
|
2024-11-25 18:41:57 -08:00 |
|
daanx
|
829ae9fdc3
|
merge from dev-steal
|
2024-11-25 16:59:15 -08:00 |
|
daanx
|
9b7ac9a1a6
|
clean up candidate search; add mi_collect_reduce
|
2024-11-25 16:58:02 -08:00 |
|
daanx
|
ea3ac0750e
|
merge from dev-steal
|
2024-11-18 15:08:17 -08:00 |
|
daanx
|
71fec8caf5
|
add target_segments_per_thread option
|
2024-11-18 15:05:22 -08:00 |
|
daanx
|
8b6017d976
|
rename mi_debug_guarded_ to mi_guarded_
|
2024-11-16 22:42:32 -08:00 |
|
Daan
|
4f46cf7d5a
|
ensure we dont reclaim a segment on a free if that would go above the target segment count
|
2024-10-29 22:40:58 -07:00 |
|
Daan
|
81da26d7d3
|
make target test for stealing one less since we are about to reclaim_or_alloc a fresh segment
|
2024-10-11 10:52:35 -07:00 |
|
daanx
|
723869014f
|
add ability to abandon segments after a threshold
|
2024-10-09 21:24:20 -07:00 |
|
Daan Leijen
|
9731941c7b
|
merge from dev-guarded
|
2024-08-20 13:11:54 -07:00 |
|
Daan Leijen
|
f130808b5c
|
fix warnings
|
2024-08-20 12:58:49 -07:00 |
|
Daan Leijen
|
1ab67d44c8
|
merge from dev-guarded
|
2024-08-20 12:57:20 -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 |
|
Daan
|
01503df7f3
|
move declaration to avoid gcc warning, see issue #919
|
2024-08-12 13:51:39 -07:00 |
|
QuarticCat
|
632421da3a
|
fix typos
|
2024-06-19 10:49:03 +08:00 |
|
daanx
|
265767766b
|
fix alignment test
|
2024-06-17 16:22:07 -07:00 |
|
daanx
|
3c5e480ce7
|
fix alignment test
|
2024-06-17 16:21:46 -07:00 |
|
daanx
|
3726cf94ba
|
merge from dev
|
2024-06-17 16:18:03 -07:00 |
|
daanx
|
b7dd5d6564
|
add extra assertions to check that blocks are always aligned to MI_MAX_ALIGN_SIZE
|
2024-06-17 16:17:03 -07:00 |
|
daanx
|
f79ea2461a
|
merge from dev
|
2024-06-03 21:01:23 -07:00 |
|
daanx
|
b1188ea336
|
fix potential race on subproc field in the segment
|
2024-06-03 20:57:00 -07:00 |
|
daanx
|
065f46cefb
|
don't reset a segment thread id when iterating
|
2024-06-03 18:19:45 -07:00 |
|
Daan Leijen
|
7c67114fd4
|
merge from dev
|
2024-06-03 18:14:44 -07:00 |
|
daanx
|
96b69d7ef6
|
fix leak where OS abandoned blocks were not always reclaimed
|
2024-06-03 17:28:14 -07:00 |
|
daanx
|
f02a0b3541
|
more aggressive reclaim from free for OS blocks
|
2024-06-03 14:05:57 -07:00 |
|
Daan
|
3f2b6e6df9
|
merge from dev
|
2024-06-03 11:34:54 -07:00 |
|
Daan
|
7e23576efa
|
remove old mi_abandoned_await_readers
|
2024-06-03 09:57:03 -07:00 |
|
Daan
|
f77adf4a18
|
merge from dev (visit abandoned, upstream of python/cpython#114133)
|
2024-06-02 17:03:13 -07:00 |
|
daanx
|
f9076a5cf8
|
use EFAULT if a target heap tag cannot be found on reclaim
|
2024-06-02 15:54:49 -07:00 |
|
daanx
|
5501f59f6c
|
only reclaim for exclusive heaps in their associated arena
|
2024-06-02 13:16:20 -07:00 |
|
daanx
|
8f874555d5
|
add initial support for visiting abandoned segments per subprocess, upstream for python/cpython#114133
|
2024-06-02 07:47:08 -07:00 |
|
daanx
|
d9aa19a763
|
add support for sub-processes (to supportpython/cpython#113717)
|
2024-06-01 15:57:18 -07:00 |
|
Daan
|
65a0c82ac9
|
merge from dev (support for heap tag, upstream of python/cpython#113742
|
2024-05-19 08:10:35 -07:00 |
|
Daan
|
0c4041fa53
|
add support for custom heap and page tags, upstream of python/cpython#113742
|
2024-05-19 08:06:32 -07:00 |
|
Daan
|
4a26a4568e
|
fix out-of-bounds write on span free in huge segments
|
2024-05-16 14:26:05 -07:00 |
|
Daan
|
44b65b19df
|
remove pre_size parameter for slices
|
2024-05-16 13:30:33 -07:00 |
|
Daan
|
e8206e9f6f
|
merge from dev improved aligned allocation
|
2024-05-11 07:08:48 -07:00 |
|
Daan
|
7128db7bba
|
simplified aligned allocation; improved codegen; fix mi_good_size with padding included; add MI_MAX_ALIGN_GUARANTEE
|
2024-05-11 06:43:52 -07:00 |
|
Daan
|
83af243bca
|
merge from dev
|
2024-04-19 12:50:32 -07:00 |
|