Daan Leijen
90600188a8
remove superfluous prototypes
2023-03-28 09:58:31 -07:00
Daan Leijen
6a8b158a9f
merge from dev
2023-03-28 09:15:01 -07:00
Daan Leijen
560e32b2e1
update comments
2023-03-28 09:14:17 -07:00
Daan Leijen
3fc30c4a1e
merge from dev, version bump to 2.1.0
2023-03-20 11:05:18 -07:00
Daan Leijen
f58357548c
restructure header files
2023-03-20 10:37:39 -07:00
Daan Leijen
92ffc25d79
merge from dev
2022-12-19 17:08:45 -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
c55cc260ab
merge from dev-align
2022-11-07 11:29:03 -08:00
daan
711aad7a75
refactor arena allocation
2022-11-07 11:13:29 -08:00
daan
4814a649be
merge from dev-align
2022-11-06 16:23:42 -08:00
daan
6a80fa3ac1
initial progress on removing alignment limit
2022-11-05 14:46:52 -07:00
daan
cb3b73ba36
merge from dev
2022-11-01 16:33:50 -07:00
daan
ad1da7cfc8
fix warnings
2022-11-01 16:29:10 -07:00
daan
933713292c
merge from dev
2022-11-01 16:27:50 -07:00
daan
e6bd41ba3f
update arena_id api
2022-11-01 16:26:17 -07:00
daan
9f36808a7f
initial api for heaps restricted to a certain arena
2022-11-01 16:22:51 -07:00
daan
e961ef705e
merge arena_id from dev
2022-11-01 14:16:49 -07:00
daan
0a691ca68e
fix off by one in arena id
2022-11-01 14:05:04 -07:00
daan
fe2d5aa8ff
initial work on heaps restricted to specific arena's
2022-11-01 14:00:20 -07:00
Daan Leijen
413141ae29
merge from dev
2022-04-19 19:55:03 -07:00
daan
83ffd92b2b
merge from dev
2021-11-13 15:16:23 -08:00
daan
09e59e0610
use size_t instead of uintptr_t where appropiate
2021-11-13 15:13:16 -08:00
daan
721486c82b
merge from dev
2021-11-13 14:52:11 -08:00
daan
28896e5b19
prefix UNUSED,KiB,MiB,GiB; add mi_threadid_t type; add mi_ssize_t
2021-11-13 14:46:03 -08:00
Daan
de00de96fd
merge with dev
2021-10-20 09:56:03 -07:00
Daan
e02f88a11c
Fix warnings with g++-11 compilation
2021-10-20 09:55:03 -07:00
Daan Leijen
d4397ce16c
merge from dev
2021-10-19 15:13:53 -07:00
daan
505ea78cae
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
2021-10-19 15:07:19 -07:00
Daan
3bf7b4313c
add comment
2021-10-19 14:03:48 -07:00
Daan
ae5aae7e10
allow decommit in arena separate from initial commit
2021-10-19 14:00:40 -07:00
Daan
aeb73b0cd4
merge from dev
2021-10-19 12:55:10 -07:00
Daan Leijen
22c2fd82cc
ensure managed os memory is at least one arena block in size
2021-10-18 20:44:19 -07:00
Daan Leijen
bcce4d52bf
fix bug in determination of block size in pre-reserved arena memory
2021-10-18 20:39:39 -07:00
Daan Leijen
9974b0ee23
Merge branch 'dev' into dev-slice
2021-06-07 16:51:14 -07:00
Daan Leijen
4ba32c3160
Revert "make all includes relative"
...
This reverts commit 1feb6123d9
.
2021-06-07 16:47:57 -07:00
Daan Leijen
7b595bd957
Merge branch 'dev' into dev-slice
2021-06-06 20:31:53 -07:00
Daan Leijen
1feb6123d9
make all includes relative
2021-06-06 20:31:36 -07:00
Jim Huang
0f57425f80
Distinguish SI and Binary Prefixes
...
SI prefixes [the decimal prefixes] refer strictly to powers of 10. They
should not be used to indicate powers of 2. e.g., one kilobit
represents 1000 bits instead of 1024 bits. IEC 60027‐2 symbols are
formed adding a "i" to the SI symbol (e.g. G + i = Gi).
2021-05-30 20:13:28 +08:00
Daan Leijen
10ce8839fa
merge from dev
2021-04-28 13:23:46 -07:00
Jim Huang
5940d3bcce
Bump copyright date
...
Each source file has been changed according to relevant Git activities.
2021-04-24 16:35:11 +00:00
Daan Leijen
8f69e7095d
Merge branch 'dev' into dev-slice
2021-02-22 14:28:22 -08:00
Daan Leijen
3228bb685f
set errno ENOMEM for limited arena allocation (issue #295 )
2021-02-22 14:17:25 -08:00
Daan Leijen
e314699ee0
add debug view of arenas
2021-01-28 17:32:42 -08:00
Daan Leijen
217871cb45
fix search_idx start in managed arenas
2021-01-22 11:24:25 -08:00
daan
69f935944f
add test to avoid searching arenas when possible
2020-10-15 19:46:19 -07:00
daan
b149099bf3
use relaxed load for last search position in an arena
2020-09-24 16:55:00 -07:00
daan
1d946146cc
fix all_committed
2020-09-11 10:40:22 -07:00
daan
fa01875eb2
merge from dev (with is_pinned/is_large separation)
2020-09-08 17:54:58 -07:00
daan
364674185e
add option to limit OS allocation and only allow allocation from arenas
2020-09-08 16:56:51 -07:00
daan
14b8d27386
track pinned memory separately from large os pages
2020-09-08 16:46:03 -07:00