Go to file
Andi Kleen d33ef9a52b Free large chunks in ggc v2
This implements the freeing back of large chunks in the ggc madvise path
Richard Guenther asked for.  This way on systems with limited
address space malloc() and other allocators still have
a chance to get back at some of the memory ggc freed. The
fragmented pages are still just given back, but the address space
stays allocated.

I tried freeing only aligned 2MB areas to optimize for 2MB huge
pages, but the hit rate was quite low, so I switched to 1MB+
unaligned areas.

v2: Hardcode free unit size instead of param

gcc/:
2011-10-18  Andi Kleen  <ak@linux.intel.com>

	* ggc-page (release_pages): First free large continuous
	chunks in the madvise path.

From-SVN: r180648
2011-10-29 01:01:54 +00:00
boehm-gc
config Centralize PICFLAG configuration 2011-08-22 16:54:02 +00:00
contrib testsuite-management: New. 2011-09-13 16:24:47 -04:00
fixincludes re PR lto/48851 (lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]) 2011-10-25 20:07:19 +00:00
gcc Free large chunks in ggc v2 2011-10-29 01:01:54 +00:00
gnattools Makefile.in (LOOSE_WARN): Delete. 2011-10-12 22:41:57 +00:00
include obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-21 21:35:29 -04:00
INSTALL
intl
libada Makefile.in (LOOSE_WARN): Delete. 2011-10-12 22:41:57 +00:00
libcpp Implement C++11 user-defined literals. 2011-10-26 15:30:59 -04:00
libdecnumber
libffi re PR libffi/49594 (bootstrap failure in libffi:darwin_closure for powerpc-darwin8) 2011-09-04 19:19:39 +00:00
libgcc morestack.S: Correct CFI information to do proper returns throughout function. 2011-10-28 22:03:56 +00:00
libgfortran re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-09-10 14:06:57 +00:00
libgo syscalls: Rewrite awk script to work with nawk. 2011-10-27 04:56:46 +00:00
libgomp posix95: Remove empty directory. 2011-10-10 19:27:31 +00:00
libiberty * setproctitle.c (setproctitle): Use "GNU/Linux" in comment. 2011-10-29 00:09:39 +00:00
libjava exception.cc (parse_lsda_header): hardcode ttype_encoding for older ARM EABI toolchains. 2011-10-20 13:56:12 +00:00
libmudflap
libobjc exception.c (parse_lsda_header): hardcode ttype_encoding for older ARM EABI toolchains. 2011-10-20 13:57:21 +00:00
libquadmath Makefile.am (FLAGS_TO_PASS): Define. 2011-09-21 15:36:03 +01:00
libssp
libstdc++-v3 50862.cc: Trivial formatting fixes. 2011-10-28 14:33:21 +00:00
lto-plugin re PR lto/47247 (Linker plugin specification makes it difficult to handle COMDATs) 2011-10-02 10:41:24 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog config.sub: Import these changes from the config project: 2011-10-27 09:45:55 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub config.sub: Import these changes from the config project: 2011-10-27 09:45:55 +00:00
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2011-10-25 09:39:49 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.