daanx
|
8a66ae818a
|
always use non-flat map in secure mode and validate pointers passed to free
|
2025-05-21 16:32:06 -07:00 |
|
daanx
|
3ef6784455
|
destroy the page map as well if MIMALLOC_DESTROY_ON_EXIT is set; see issue #1041
|
2025-05-12 22:05:15 -07:00 |
|
Daan
|
3c3d16fe48
|
fix mi_ctz/clz/bsf/bsr to avoid msvc compilation bug (issue #1071, pr #1081)
|
2025-05-02 08:14:36 -07:00 |
|
Daan Leijen
|
992a1ca820
|
allow smaller and larger default arena slice sizes
|
2025-03-10 13:26:52 -07:00 |
|
daanx
|
d9580f3bfb
|
update popcnt to be more efficient on x64 even without MI_OPT_ARCH=ON
|
2025-03-06 18:54:04 -08:00 |
|
Daan Leijen
|
c3fc75e0ff
|
update clz/ctz for BMI1
|
2025-02-28 16:26:45 -08:00 |
|
daanx
|
b59c1f8ce4
|
update comments
|
2025-02-24 13:48:21 -08:00 |
|
daanx
|
a7f11cd2b0
|
define mi_clz/ctz in portable way on x64 that does not require BMI1 (issue #1016)
|
2025-02-20 14:39:35 -08:00 |
|
Daan
|
f8857a5189
|
fix mi_bsr to not use lzcnt directly
|
2025-02-18 06:33:55 -08:00 |
|
daanx
|
7931678899
|
further optimize mi_bchunk_try_find_and_clearNX
|
2025-02-06 22:59:14 -08:00 |
|
Daan
|
570b6b5a7a
|
slightly better bsf
|
2025-01-21 20:53:16 -08:00 |
|
Daan
|
8a4c26377f
|
add neon code for bit clear
|
2024-12-26 23:12:03 -08:00 |
|
daanx
|
516e644359
|
rename option pagemap_commit; always commit the page map on macos (for now)
|
2024-12-22 16:06:49 -08:00 |
|
daanx
|
c5cfc92f0c
|
small fixes
|
2024-12-22 14:39:57 -08:00 |
|
daanx
|
3c7d7e1f11
|
experiment with 2 level pagemap
|
2024-12-22 14:07:57 -08:00 |
|
daanx
|
93fa8d895a
|
revert back to flat address map
|
2024-12-22 12:18:53 -08:00 |
|
daanx
|
56cbddfc7e
|
initial work on a two-level page-map
|
2024-12-21 23:08:52 -08:00 |
|
daanx
|
8dd605099b
|
fix arm64ec asm
|
2024-12-19 15:29:40 -08:00 |
|
daanx
|
7cd8f31f30
|
improve popcount
|
2024-12-10 14:50:55 -08:00 |
|
daanx
|
e44815ed6f
|
add bsf/bsr for compilation with older compilers (clang 7)
|
2024-12-09 20:06:48 -08:00 |
|
daanx
|
56a1bd7f9e
|
fix 32 bit multiply in generic ctz/clz
|
2024-12-09 19:43:00 -08:00 |
|
daanx
|
d5ed0cc71e
|
various improvements
|
2024-12-09 14:31:43 -08:00 |
|
daanx
|
5a06d2aeba
|
update bit primitives
|
2024-12-08 09:03:25 -08:00 |
|
daanx
|
bc67be4d79
|
small adjustments
|
2024-12-04 21:40:57 -08:00 |
|
daanx
|
fe5a314114
|
add base and size to OS memid
|
2024-12-02 19:31:36 -08:00 |
|
daanx
|
69ac69abac
|
wip: use epoch with 512bit chunks
|
2024-12-02 00:31:08 -08:00 |
|
daanx
|
f8d04dc2bc
|
compile with clang and gcc
|
2024-11-30 12:41:11 -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
|
71cfa45e76
|
wip: initial work on mimalloc3 without segments
|
2024-11-28 19:31:04 -08:00 |
|