Commit graph

1634 commits

Author SHA1 Message Date
daanx
9ecadaecd5 clean up 2024-12-22 17:55:56 -08:00
daanx
b920fc1b72 merge from dev3 2024-12-22 17:38:48 -08:00
daanx
773fe7ae5b support full secure build 2024-12-22 17:25:58 -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
6b97830f6a merge from dev3 2024-12-22 14:40:46 -08:00
daanx
c5cfc92f0c small fixes 2024-12-22 14:39:57 -08:00
daanx
a42a2a926b improving level 2 page-map 2024-12-22 14:18:33 -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
c9b2d31665 fix page_map initialization 2024-12-21 23:17:11 -08:00
daanx
56cbddfc7e initial work on a two-level page-map 2024-12-21 23:08:52 -08:00
daanx
1e2221f512 fix signed/unsigned; fix heap_destroy assert failure 2024-12-21 19:28:53 -08:00
daanx
bfc498e54a Merge branch 'dev3' into dev3-bin 2024-12-21 16:25:04 -08:00
daanx
d7d626cbfa enable collecting from the full page queue 2024-12-21 16:24:56 -08:00
daanx
b991510813 merge from dev3 2024-12-21 15:56:22 -08:00
daanx
da17a59bdb re-add deferred free and heap retired collect 2024-12-21 15:53:50 -08:00
daanx
5de5550c63 merge from dev3 2024-12-21 15:52:15 -08:00
daanx
c138fba149 merge from dev 2024-12-21 15:49:17 -08:00
daanx
1a6fbdf0b2 merge from dev 2024-12-21 15:48:49 -08:00
daanx
7085b6cec3 limit candidate search to 4 2024-12-21 15:38:27 -08:00
daanx
476d4699ff limit purgeing to one purge cycle per purge delay 2024-12-21 15:24:46 -08:00
daanx
108c84e858 remove req_arena parameter to arena_reserve 2024-12-21 14:45:14 -08:00
daanx
e3ebebb990 update lock primitive; fix arena exclusive allocation 2024-12-21 14:39:17 -08:00
daanx
7d46478a5f add initial load/unload for heaps 2024-12-21 13:19:06 -08:00
daanx
89b0d5a357 allocate heaps associated with an arena in that arena 2024-12-21 11:53:29 -08:00
daanx
4ad7fedd25 track os abandoned pages in a list 2024-12-21 11:35:30 -08:00
daanx
95aeda4cdd merge subproc stats on delete 2024-12-21 10:53:34 -08:00
daanx
dece8a587b make stats part of a subproc 2024-12-21 10:43:08 -08:00
daanx
daac75af36 fix lock recursion 2024-12-20 22:13:58 -08:00
daanx
a5b7d7f264 subprocesses own arena's 2024-12-20 21:38:31 -08:00
daanx
7141d9f164 remove busy wait for arena reservation 2024-12-20 17:31:48 -08:00
daanx
bc459b5e16 Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2024-12-20 16:46:18 -08:00
Daan Leijen
278f1ff556 merge from dev; match test-stress 2024-12-20 14:00:02 -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
daanx
b2d1b4c472 Merge branch 'dev3-bin' of https://github.com/microsoft/mimalloc into dev3-bin 2024-12-20 13:10:55 -08:00
daanx
efa82e1c7d Merge branch 'dev3' of https://github.com/microsoft/mimalloc into dev3 2024-12-20 13:10:16 -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
Daan Leijen
13a58ac343 Merge branch 'dev3' into dev3-bin 2024-12-20 11:56:16 -08:00
Daan Leijen
5614c5052e don't prefer high used candidate if it is too full 2024-12-20 11:56:04 -08:00
daanx
3746bf79ed small fixes; max object size 1/8th of a pages 2024-12-19 21:30:03 -08:00
daanx
9a4c264e76 Merge branch 'dev3' into dev3-bin 2024-12-19 19:18:10 -08:00
daanx
de8001c107 add specialized is_set for 1 bit 2024-12-19 19:18:04 -08:00
daanx
264d5a6704 update stat adjustment for purging 2024-12-17 19:13:03 -08:00
daanx
fb90938408 adjust stats more clearly to avoid double counting commits 2024-12-17 19:11:23 -08:00
daanx
2a3969ffc7 Merge branch 'dev3' into dev3-bin 2024-12-17 18:57:20 -08:00
Daan Leijen
58b726be6f better stats for commit on overcommit systems (by not counting on-demand commit upfront) 2024-12-17 18:57:00 -08:00
daanx
587eabe72b Merge branch 'dev3' into dev3-bin 2024-12-17 18:10:37 -08:00
daanx
84bb1c2712 adjust stats more clearly to avoid double counting commits 2024-12-17 18:10:28 -08:00
daanx
21c05019b7 Merge branch 'dev' into dev3 2024-12-17 17:54:24 -08:00
daanx
617190880d add ajust stats to compensate for double counting 2024-12-17 17:53:34 -08:00