Commit graph

34 commits

Author SHA1 Message Date
daanx
900e4f5d3c wip: add expandable primitives 2023-04-30 19:20:04 -07:00
daanx
48ff5c178e check for remap support 2023-04-30 13:41:19 -07:00
daanx
10fbe6cf0f improve remap primitive interface 2023-04-30 13:01:17 -07:00
daanx
1246f46625 wip: initial working windows remap 2023-04-29 15:37:14 -07:00
daanx
e4c914565d wip: further improvement for remap 2023-04-29 10:00:47 -07:00
daanx
be2f35641a wip: remappable memory 2023-04-26 12:23:38 -07:00
daanx
0bb5cecbc2 use most performant reset on Linux (MADV_FREE) and Windows (MEM_RESET) as we use the precise decommit by default for purging anyways 2023-04-24 08:56:42 -07:00
daanx
88a8b13782 revise unix decommit 2023-04-23 20:53:27 -07:00
daanx
bfe2651ec9 revise decommit on linux in debug/secure mode 2023-04-23 20:32:22 -07:00
daanx
7f93bf02c9 be explicit about memory tracking in os.c 2023-04-23 16:40:01 -07:00
daanx
012f716485 add is_zero flag to prim_commit 2023-04-21 10:37:22 -07:00
daanx
4d976270eb review is_zero flag 2023-04-18 17:18:39 -07:00
daanx
a8c581059b Merge branch 'dev' into dev-reset 2023-04-17 09:48:58 -07:00
daanx
8027fcfecd Merge branch 'dev' into dev-reset 2023-04-15 17:59:01 -07:00
Sergey Fedorov
2647146abd prim.c: fix for macOS without MACH_TASK_BASIC_INFO 2023-04-15 07:07:10 +08:00
David CARLIER
bcbcc343ec fix build on freebsd.
close #722
2023-04-07 08:59:43 +01:00
daanx
cb0369452d use exponetially sized arenas 2023-04-04 17:54:33 -07:00
daanx
d01017ffda extend primitive api with is_zero parameters 2023-04-04 16:32:39 -07:00
daanx
1d231be758 clarify needs_recommit 2023-04-04 13:05:48 -07:00
daanx
5c39fe7246 decommit returns whether re-commit is needed 2023-04-04 12:57:18 -07:00
Daan Leijen
8607c4a5df fix compile without syscall (pr #714 by asuka-mio) 2023-03-30 09:24:06 -07:00
Daan Leijen
47d8cd916e fix compile without MADV_FREE (pr #715 by elbaro) 2023-03-30 09:21:07 -07:00
Daan Leijen
f806eb8498 remove redundant OR in mmap flags (pr #675) 2023-03-29 16:15:20 -07:00
Daan Leijen
dd7b99d477 apply some spelling fixes from PR #710 2023-03-29 16:10:01 -07:00
Daan Leijen
61a32e62b8 support cygwin compilation (pr #712) 2023-03-29 15:56:31 -07:00
Daan Leijen
f20d22a3e4 fix arm compilation (PR 694) 2023-03-29 15:53:05 -07:00
Daan Leijen
1cb0193ff1 fix hex formatting of errors 2023-03-29 13:00:35 -07:00
Daan
5bc724d18f fix warnings on macOS 2023-03-29 12:39:34 -07:00
Daan Leijen
79f31b0e8f use syscalls for open/close etc when initializing to avoid recursion when these are intercepted (issue #713) 2023-03-28 16:44:35 -07:00
Daan Leijen
1ded6e2dec increase env limit to 10000 entries (issue #685) 2023-03-20 14:30:38 -07:00
Daan Leijen
f58357548c restructure header files 2023-03-20 10:37:39 -07:00
Daan Leijen
6ae6c42700 simplify primitives API 2023-03-20 10:23:00 -07:00
Daan Leijen
85a2bb5c60 update process info primitive api 2023-03-20 10:22:45 -07:00
Daan Leijen
8a1f6c82b2 move prim files in subdirectories 2023-03-16 17:47:00 -07:00
Renamed from src/prim/prim-unix.c (Browse further)