diff options
author | Daan <daanl@outlook.com> | 2021-10-19 12:55:10 -0700 |
---|---|---|
committer | Daan <daanl@outlook.com> | 2021-10-19 12:55:10 -0700 |
commit | aeb73b0cd4562143ed41c8f368bf0984a0897b06 (patch) | |
tree | 0f851adb2781db6df6a9e5fb1ad83edd1d97143d /src/segment.c | |
parent | f945dbb390685b7b3c9bfd836ff3358c5c91ed41 (diff) | |
parent | 9a724889ead0ab9ad04f66b91b3e22064ccd8d52 (diff) |
merge from dev
Diffstat (limited to 'src/segment.c')
-rw-r--r-- | src/segment.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/segment.c b/src/segment.c index c6036c4..6ae3d9a 100644 --- a/src/segment.c +++ b/src/segment.c @@ -18,9 +18,6 @@ static void mi_segment_delayed_decommit(mi_segment_t* segment, bool force, mi_st /* -------------------------------------------------------------------------------- Segment allocation - In any case the memory for a segment is virtual and usually committed on demand. - (i.e. we are careful to not touch the memory until we actually allocate a block there) - If a thread ends, it "abandons" pages with used blocks and there is an abandoned segment list whose segments can be reclaimed by still running threads, much like work-stealing. |