Daan Leijen
|
09ad6d2819
|
initial statistics api
|
2025-03-02 15:34:37 -08:00 |
|
Daan Leijen
|
1b749ea7d8
|
clean up statistics
|
2025-03-01 20:51:44 -08:00 |
|
daanx
|
de0324e1a7
|
return length from _mi_snprintf
|
2025-01-04 22:01:28 -08:00 |
|
daanx
|
a415940604
|
move singleton pages to the full queue at allocation time
|
2025-01-04 17:44:56 -08:00 |
|
daanx
|
7085b6cec3
|
limit candidate search to 4
|
2024-12-21 15:38:27 -08:00 |
|
Daan Leijen
|
f3d83e5fa6
|
insert full pages at the end of the queue; only override page candidate if the page is not too full
|
2024-12-20 13:55:31 -08:00 |
|
Daan Leijen
|
df82338d8a
|
don't override a page candidate with a page that is too full
|
2024-12-20 13:04:30 -08:00 |
|
daanx
|
c8607a8d01
|
remove os_tld and stats parameters to os interface
|
2024-12-08 17:56:13 -08:00 |
|
daanx
|
7673aa2517
|
ensure forced abandoned pages can be accessed after free
|
2024-11-25 18:41:57 -08:00 |
|
daanx
|
9b7ac9a1a6
|
clean up candidate search; add mi_collect_reduce
|
2024-11-25 16:58:02 -08:00 |
|
daanx
|
71fec8caf5
|
add target_segments_per_thread option
|
2024-11-18 15:05:22 -08:00 |
|
daanx
|
edc7ddd37c
|
Merge branch 'dev' into dev-steal
|
2024-11-18 11:05:31 -08:00 |
|
daanx
|
498c92e348
|
update guarded implementation to use block tags
|
2024-11-16 21:15:50 -08:00 |
|
Daan Leijen
|
a7e7cbac89
|
use enqueue_from_full, and keep inserting at the end
|
2024-10-09 15:15:57 -07:00 |
|
daanx
|
0316cb1d88
|
reduce page search to 8
|
2024-10-09 15:05:35 -07:00 |
|
daanx
|
cbc0e19809
|
revert back to unfull at the end of queues as it slows down some benchmarks (like alloc-test1)
|
2024-10-09 14:41:12 -07:00 |
|
daanx
|
96877159c2
|
insert full pages that became unfull, at the start of the page queue to increase potential reuse
|
2024-10-09 14:35:33 -07:00 |
|
daanx
|
a05b5ab0a1
|
search N pages for a best fit
|
2024-10-09 14:21:50 -07:00 |
|
daanx
|
ffa8bce581
|
prefer pages that do not expand
|
2024-10-09 11:27:57 -07:00 |
|
daanx
|
0c19eb60cf
|
initial working guarded pages
|
2024-08-19 21:21:40 -07:00 |
|
daanx
|
76b0873ce2
|
fix asan tracking by explicitly setting memory to undefined before a free
|
2024-06-03 20:28:47 -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
|
88aa84727d
|
fix spelling errors (pr #710)
|
2024-04-20 17:12:09 -07:00 |
|
Daan
|
5050b63038
|
define MI_MAX_ALLOC_SIZE as PTRDIFF_MAX (related to #877)
|
2024-04-19 09:53:21 -07:00 |
|
Daan
|
6b4f3f6223
|
further ASAN fix
|
2024-03-25 16:37:46 -07:00 |
|
Daan Leijen
|
0022802177
|
commend and make at least 8 tries for reclaim
|
2024-03-25 15:25:04 -07:00 |
|
daanx
|
006ae2d055
|
add is_huge page flag to ensure the right page queue is returned (see #868)
|
2024-03-24 17:07:28 -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
|
6688b45fbd
|
rename MI_ALIGNMENT_MAX to MI_BLOCK_ALIGNMENT_MAX for clarity
|
2024-03-24 10:57:02 -07:00 |
|
Daan Leijen
|
ea6137a501
|
use MI_MAX_ALIGN_SIZE to adjust block_offset_adj
|
2024-03-24 09:01:58 -07:00 |
|
Daan Leijen
|
4f809aadb7
|
use free field for expiration instead of used
|
2024-03-24 08:29:56 -07:00 |
|
Daan Leijen
|
60c4a0fe56
|
fix compilation warnings for new uint16_t size for used field
|
2024-03-24 08:10:35 -07:00 |
|
Daan
|
cc809b0cd4
|
take 16 bits from used field to create a fast unalign path
|
2024-03-18 01:40:03 -07:00 |
|
daanx
|
2a6352fef2
|
add further zero initialization checks
|
2023-04-22 10:18:57 -07:00 |
|
daanx
|
173382ef60
|
is_zero review; fix asan check
|
2023-04-18 17:52:16 -07:00 |
|
daanx
|
09e42aea4e
|
clarify is_zero meaing
|
2023-04-18 17:41:18 -07:00 |
|
daanx
|
4d976270eb
|
review is_zero flag
|
2023-04-18 17:18:39 -07:00 |
|
daanx
|
89e092d795
|
increase retire cycles to 16
|
2023-04-16 16:43:11 -07:00 |
|
daanx
|
eb62caeda0
|
allow per page purging instead of reset
|
2023-04-08 17:37:58 -07:00 |
|
Daan Leijen
|
cc4ed36c7e
|
prepare for new release
|
2023-04-03 12:30:18 -07:00 |
|
Daan Leijen
|
8e6a475386
|
add ubsan and tsan to pipeline
|
2023-03-29 12:13:59 -07:00 |
|
Daan Leijen
|
54ad5e76fd
|
fix warnings for issues #709
|
2023-03-20 11:43:31 -07:00 |
|
Daan Leijen
|
f58357548c
|
restructure header files
|
2023-03-20 10:37:39 -07:00 |
|
Daan Leijen
|
9b110090b2
|
move threadid and mi_get_default_heap to primitives
|
2023-03-14 20:35:00 -07:00 |
|
Daan Leijen
|
64fb009695
|
fix warning with zero padding
|
2023-03-05 22:27:45 -08:00 |
|
Daan Leijen
|
e912697d90
|
fix warning with zero padding
|
2023-03-05 22:26:05 -08:00 |
|
Daan
|
6dcebdc303
|
fix sizes in memory tracking and padding for huge alignments
|
2023-03-04 14:49:02 -08:00 |
|
Johannes Schindelin
|
745a34f475
|
Fix whitespace
This mostly deletes trailing spaces.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
2022-12-03 00:24:20 +01:00 |
|
Daan Leijen
|
e7dac7c405
|
prevent retiring pages in the huge queue (which may have a small size but huge alignment)
|
2022-11-22 21:02:05 -08:00 |
|
Daan Leijen
|
969d8bc5fe
|
make huge pages part of the regular page queues again
|
2022-11-22 20:56:35 -08:00 |
|