summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
diff options
context:
space:
mode:
authorDaan <daan@microsoft.com>2021-04-22 10:34:13 -0700
committerGitHub <noreply@github.com>2021-04-22 10:34:13 -0700
commit766f1f934522bca61ef3e82e35056ec8dc94b05f (patch)
treed65be5104cc3f806b61240cfb0d25dbc0050fa1d /include/mimalloc-types.h
parentf941015928c7e4d262a2965b3760bbf8064b7897 (diff)
parent8311cef0d11a343068a713900a879ff0cdc0d036 (diff)
Merge pull request #388 from nico-abram/patch-2
Fix typo in comment
Diffstat (limited to 'include/mimalloc-types.h')
-rw-r--r--include/mimalloc-types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h
index 9902467..ddb0511 100644
--- a/include/mimalloc-types.h
+++ b/include/mimalloc-types.h
@@ -270,7 +270,7 @@ typedef struct mi_segment_s {
struct mi_segment_s* prev;
size_t abandoned; // abandoned pages (i.e. the original owning thread stopped) (`abandoned <= used`)
- size_t abandoned_visits; // count how often this segment is visited in the abandoned list (to force reclaim it it is too long)
+ size_t abandoned_visits; // count how often this segment is visited in the abandoned list (to force reclaim if it is too long)
size_t used; // count of pages in use (`used <= capacity`)
size_t capacity; // count of available pages (`#free + used`)