Skip to content

Commit 957811d

Browse files
author
adam
committed
mimalloc: updated to 3.2.8
3.2.8 important bug fixes 3.2.7 various bug fixes and performance improvements
1 parent 4f36258 commit 957811d

4 files changed

Lines changed: 27 additions & 8 deletions

File tree

devel/mimalloc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.13 2025/06/30 20:01:47 adam Exp $
1+
# $NetBSD: Makefile,v 1.14 2026/02/04 16:12:43 adam Exp $
22

3-
DISTNAME= mimalloc-3.1.5
3+
DISTNAME= mimalloc-3.2.8
44
CATEGORIES= devel
55
MASTER_SITES= ${MASTER_SITE_GITHUB:=microsoft/}
66
GITHUB_TAG= v${PKGVERSION_NOREV}

devel/mimalloc/PLIST

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.7 2025/06/30 20:01:47 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.8 2026/02/04 16:12:43 adam Exp $
22
include/mimalloc-new-delete.h
33
include/mimalloc-override.h
44
include/mimalloc-stats.h
@@ -10,5 +10,5 @@ lib/cmake/mimalloc/mimalloc.cmake
1010
lib/libmimalloc.a
1111
lib/libmimalloc.so
1212
lib/libmimalloc.so.3
13-
lib/libmimalloc.so.3.1
13+
lib/libmimalloc.so.3.2
1414
lib/pkgconfig/mimalloc.pc

devel/mimalloc/distinfo

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
$NetBSD: distinfo,v 1.9 2025/06/30 20:01:47 adam Exp $
1+
$NetBSD: distinfo,v 1.10 2026/02/04 16:12:43 adam Exp $
22

3-
BLAKE2s (mimalloc-3.1.5.tar.gz) = 22efa4c5ae031a365e9cecd46a478b9bc88af7da1e6435b3744b0c79e0591f50
4-
SHA512 (mimalloc-3.1.5.tar.gz) = 616351e549707318c1f8b164251141684a73d5bf8205b905736f48ab21fbb19bfaa4d52c4e63642fcb144345b6a5331944b6c8e0827925000553e46f2c2c31e9
5-
Size (mimalloc-3.1.5.tar.gz) = 1306337 bytes
3+
BLAKE2s (mimalloc-3.2.8.tar.gz) = 1ce447474717ad12f89011accdc75d8f8cd7961a496d36d1a9f15116bf14af9f
4+
SHA512 (mimalloc-3.2.8.tar.gz) = 5830ceb1bf0d02f50fe586caaad87624ba8eba1bb66e68e8201894221cf6f51854f5a9667fc98358c3b430dae6f9bf529bfcb74d42debe6f40a487265053371c
5+
Size (mimalloc-3.2.8.tar.gz) = 1385082 bytes
6+
SHA1 (patch-src_options.c) = 00d99fdd15f1b719f9d79a3ea098f1c83b397b98
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
$NetBSD: patch-src_options.c,v 1.1 2026/02/04 16:12:43 adam Exp $
2+
3+
https://github.com/microsoft/mimalloc/issues/1219
4+
5+
--- src/options.c.orig 2026-02-04 16:09:06.364196291 +0000
6+
+++ src/options.c
7+
@@ -136,11 +136,7 @@ static mi_option_desc_t mi_options[_mi_option_last] =
8+
{ 0, MI_OPTION_UNINIT, MI_OPTION(deprecated_page_reset) }, // reset page memory on free
9+
{ 0, MI_OPTION_UNINIT, MI_OPTION(deprecated_abandoned_page_purge) },
10+
{ 0, MI_OPTION_UNINIT, MI_OPTION(deprecated_segment_reset) }, // reset segment memory on free (needs eager commit)
11+
-#if defined(__NetBSD__)
12+
- { 0, MI_OPTION_UNINIT, MI_OPTION(eager_commit_delay) }, // the first N segments per thread are not eagerly committed
13+
-#else
14+
{ 1, MI_OPTION_UNINIT, MI_OPTION(deprecated_eager_commit_delay) },
15+
-#endif
16+
{ 1000,MI_OPTION_UNINIT, MI_OPTION_LEGACY(purge_delay,reset_delay) }, // purge delay in milli-seconds
17+
{ 0, MI_OPTION_UNINIT, MI_OPTION(use_numa_nodes) }, // 0 = use available numa nodes, otherwise use at most N nodes.
18+
{ 0, MI_OPTION_UNINIT, MI_OPTION_LEGACY(disallow_os_alloc,limit_os_alloc) }, // 1 = do not use OS memory for allocation (but only reserved arenas)

0 commit comments

Comments
 (0)