Created
July 26, 2016 18:44
-
-
Save ssvb/e13224df1863264b2dc81f988421ed3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From aaa3428877546e7dff686e4e526f886becc59323 Mon Sep 17 00:00:00 2001 | |
From: Siarhei Siamashka <siarhei.siamashka@gmail.com> | |
Date: Mon, 25 Jul 2016 19:43:58 +0300 | |
Subject: [PATCH] musl nothreshold malloc | |
--- | |
src/malloc/malloc.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/src/malloc/malloc.c b/src/malloc/malloc.c | |
index b90636c..2f2d074 100644 | |
--- a/src/malloc/malloc.c | |
+++ b/src/malloc/malloc.c | |
@@ -39,7 +39,7 @@ static struct { | |
#define SIZE_ALIGN (4*sizeof(size_t)) | |
#define SIZE_MASK (-SIZE_ALIGN) | |
#define OVERHEAD (2*sizeof(size_t)) | |
-#define MMAP_THRESHOLD (0x1c00*SIZE_ALIGN) | |
+#define MMAP_THRESHOLD (0x00*SIZE_ALIGN) | |
#define DONTCARE 16 | |
#define RECLAIM 163840 | |
-- | |
2.7.3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment