From d87933a3b5f0a8b1d49b4f6ab284e061931957e6 Mon Sep 17 00:00:00 2001 From: daan Date: Tue, 8 Sep 2020 15:50:37 -0700 Subject: [PATCH] update comments --- src/segment-cache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/segment-cache.c b/src/segment-cache.c index 569e878a..e7369bb3 100644 --- a/src/segment-cache.c +++ b/src/segment-cache.c @@ -6,8 +6,9 @@ terms of the MIT license. A copy of the license can be found in the file -----------------------------------------------------------------------------*/ /* ---------------------------------------------------------------------------- - Implements a cache of segments to avoid expensive OS calls - and also the full memory map of all segments. + Implements a cache of segments to avoid expensive OS calls and to reuse + the commit_mask to optimize the commit/decommit calls. + The full memory map of all segments is also implemented here. -----------------------------------------------------------------------------*/ #include "mimalloc.h" #include "mimalloc-internal.h"