diff options
author | Christopher Faylor <me@cgf.cx> | 2003-02-07 06:15:10 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-02-07 06:15:10 +0000 |
commit | bc5b63edab6415566ae8085c10014312d722b0dd (patch) | |
tree | 82cd6187d913b81c19a8494a68b2c22f250be7c3 /winsup/cygwin/malloc.cc | |
parent | 44a30b45104e6198875176d9ca742a4c6ca527a5 (diff) | |
download | cygnal-bc5b63edab6415566ae8085c10014312d722b0dd.tar.gz cygnal-bc5b63edab6415566ae8085c10014312d722b0dd.tar.bz2 cygnal-bc5b63edab6415566ae8085c10014312d722b0dd.zip |
* 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.cc | 2 |
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 |