Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-02-07 09:15:10 +0300
committerChristopher Faylor <me@cgf.cx>2003-02-07 09:15:10 +0300
commitbc5b63edab6415566ae8085c10014312d722b0dd (patch)
tree82cd6187d913b81c19a8494a68b2c22f250be7c3 /winsup/cygwin/malloc.cc
parent44a30b45104e6198875176d9ca742a4c6ca527a5 (diff)
* malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps.
* pipe.cc (fhandler_pipe::close): Avoid extraneous this->.
Diffstat (limited to 'winsup/cygwin/malloc.cc')
-rw-r--r--winsup/cygwin/malloc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/malloc.cc b/winsup/cygwin/malloc.cc
index 2e0a5cce0..85965c068 100644
--- a/winsup/cygwin/malloc.cc
+++ b/winsup/cygwin/malloc.cc
@@ -1455,6 +1455,8 @@ void public_mSTATs();
#define M_MMAP_THRESHOLD -3
+#define DEFAULT_MMAP_THRESHOLD (128 * 1024 * 1024)
+
#ifndef DEFAULT_MMAP_THRESHOLD
#define DEFAULT_MMAP_THRESHOLD (256 * 1024)
#endif