aboutsummaryrefslogtreecommitdiffstats
path: root/packages/glibc/files/mmap_threshold-bug-650-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glibc/files/mmap_threshold-bug-650-fix.patch')
-rw-r--r--packages/glibc/files/mmap_threshold-bug-650-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/glibc/files/mmap_threshold-bug-650-fix.patch b/packages/glibc/files/mmap_threshold-bug-650-fix.patch
new file mode 100644
index 0000000000..b9f05dc31f
--- /dev/null
+++ b/packages/glibc/files/mmap_threshold-bug-650-fix.patch
@@ -0,0 +1,11 @@
+--- libc/malloc/malloc.c.orig 2006-05-05 13:19:09.683165034 -0700
++++ libc/malloc/malloc.c 2006-05-05 13:19:32.990818694 -0700
+@@ -1449,7 +1449,7 @@
+ #define M_MMAP_THRESHOLD -3
+
+ #ifndef DEFAULT_MMAP_THRESHOLD
+-#define DEFAULT_MMAP_THRESHOLD (128 * 1024)
++#define DEFAULT_MMAP_THRESHOLD (32 * 1024)
+ #endif
+
+ /*