1 commit 5c44738353ecaa1c81efca063ee8b55e092d7a43
2 Author: Alexandre Oliva <aoliva@redhat.com>
3 Date: Wed Sep 5 15:43:04 2012 -0300
5 Don't change no_dyn_threshold on mallopt failure
7 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8 change internal state upon failure.
10 diff --git a/malloc/malloc.c b/malloc/malloc.c
11 index bd562df..c69e281 100644
14 @@ -4769,8 +4769,10 @@ int __libc_mallopt(int param_number, int value)
18 - mp_.mmap_threshold = value;
19 - mp_.no_dyn_threshold = 1;
21 + mp_.mmap_threshold = value;
22 + mp_.no_dyn_threshold = 1;