glibc/sysdeps
Siddhesh Poyarekar 9fab36eb58 Shrink heap on linux when overcommit_memory == 2
Using madvise with MADV_DONTNEED to release memory back to the kernel
is not sufficient to change the commit charge accounted against the
process on Linux.  It is OK however, when overcommit is enabled or is
heuristic.  However, when overcommit is restricted to a percentage of
memory setting the contents of /proc/sys/vm/overcommit_memory as 2, it
makes a difference since memory requests will fail.  Hence, we do what
we do with secure exec binaries, which is to call mmap on the region
to be dropped with MAP_FIXED. This internally unmaps the pages in
question and reduces the amount of memory accounted against the
process.
2012-09-25 14:30:52 +05:30
..
generic Shrink heap on linux when overcommit_memory == 2 2012-09-25 14:30:52 +05:30
gnu Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT. 2012-09-21 10:02:03 +00:00
i386 Update i386 ULPs for recently added math tests 2012-09-12 13:58:53 +10:00
ieee754 Add optimized sinf and cosf routines for x86 and x86-64 2012-09-03 15:32:13 +02:00
mach Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT. 2012-09-21 10:02:03 +00:00
posix * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r 2012-08-22 11:41:40 -06:00
powerpc Add versions of wcscpy, wcschr, wcsrchr for power6/power7. 2012-08-22 11:04:42 -05:00
pthread Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. 2012-08-17 09:35:15 -07:00
s390 Make strtod respect the rounding mode (bug 14518). 2012-09-12 23:36:19 +00:00
sh Fifth argument of la_pltenter() is not constant. 2012-08-16 08:41:05 -07:00
sparc Recognize new sparc hwcap bits. 2012-09-05 17:59:16 -07:00
unix Shrink heap on linux when overcommit_memory == 2 2012-09-25 14:30:52 +05:30
wordsize-32 Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
wordsize-64 Don't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile. 2012-09-18 15:45:57 +00:00
x86 Use x86-64 fpu_control.h for i386 and x86_64 2012-06-18 11:43:51 -07:00
x86_64 Set "fail on error" mode directly in testsuite shell scripts 2012-09-25 02:48:31 +00:00