Go to file
Andi Kleen 25f0ea8135 Add a fragmentation fallback in ggc-page v2
There were some concerns that the earlier munmap patch could lead
to address space being freed that cannot be allocated again
by ggc due to fragmentation. This patch adds a fragmentation
fallback to solve this: when a GGC_QUIRE_SIZE sized allocation fails,
try again with a page sized allocation.

Passes bootstrap and testing on x86_64-linux with the fallback
forced artificially.

v2: fix missed initialization bug added in last minute edit.

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

	* ggc-page (alloc_anon): Add check argument.
	(alloc_page): Add fallback to 1 page allocation.
	Adjust alloc_anon calls to new argument.

From-SVN: r180649
2011-10-29 01:02:14 +00:00
boehm-gc
config
contrib
fixincludes
gcc Add a fragmentation fallback in ggc-page v2 2011-10-29 01:02:14 +00:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi
libgcc morestack.S: Correct CFI information to do proper returns throughout function. 2011-10-28 22:03:56 +00:00
libgfortran
libgo syscalls: Rewrite awk script to work with nawk. 2011-10-27 04:56:46 +00:00
libgomp
libiberty * setproctitle.c (setproctitle): Use "GNU/Linux" in comment. 2011-10-29 00:09:39 +00:00
libjava
libmudflap
libobjc
libquadmath
libssp
libstdc++-v3 50862.cc: Trivial formatting fixes. 2011-10-28 14:33:21 +00:00
lto-plugin
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
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.