From bbe81101db67b02c97037b1a1b5c17c688aee6f8 Mon Sep 17 00:00:00 2001 From: daanx Date: Sun, 5 Jan 2025 11:12:27 -0800 Subject: [PATCH] add comment --- include/mimalloc/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mimalloc/types.h b/include/mimalloc/types.h index 1d3c7b07..e45da9a7 100644 --- a/include/mimalloc/types.h +++ b/include/mimalloc/types.h @@ -99,7 +99,8 @@ terms of the MIT license. A copy of the license can be found in the file #define MI_ENCODE_FREELIST 1 #endif -// Enable large pages for objects between 128KiB and 512KiB. Disabled by default. +// Enable large pages for objects between 64KiB and 256KiB. +// Disabled by default as for many workloads the block sizes above 64 KiB are quite random which can lead to too many partially used large pages. #ifndef MI_ENABLE_LARGE_PAGES #define MI_ENABLE_LARGE_PAGES 0 #endif