diff options
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/mmap_file_allocator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/mmap_file_allocator.h b/vespalib/src/vespa/vespalib/util/mmap_file_allocator.h index 54bdccf01e8..c79dc8682ba 100644 --- a/vespalib/src/vespa/vespalib/util/mmap_file_allocator.h +++ b/vespalib/src/vespa/vespalib/util/mmap_file_allocator.h @@ -16,6 +16,9 @@ namespace vespalib::alloc { * Class handling memory allocations backed by one or more files. * Not reentrant or thread safe. Should not be destructed before all allocations * have been freed. + * + * Memory allocations smaller than _small_limit use portions of + * premmapped areas to reduce the total number of memory mappings. */ class MmapFileAllocator : public MemoryAllocator { struct SizeAndOffset { |