Commit 772299b3 by Matt Austern Committed by Matt Austern

ggc-page.c (GGC_QUIRE_SIZE): Bump up from 16 to 256 if we're using mmap.

	* ggc-page.c (GGC_QUIRE_SIZE): Bump up from 16 to 256 if we're
	using mmap.

From-SVN: r88161
parent 84ca2ba7
2004-09-26 Matt Austern <austern@apple.com>
* ggc-page.c (GGC_QUIRE_SIZE): Bump up from 16 to 256 if we're
using mmap.
2004-09-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2004-09-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP, * bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP,
......
...@@ -458,8 +458,15 @@ static struct globals ...@@ -458,8 +458,15 @@ static struct globals
/* Allocate pages in chunks of this size, to throttle calls to memory /* Allocate pages in chunks of this size, to throttle calls to memory
allocation routines. The first page is used, the rest go onto the allocation routines. The first page is used, the rest go onto the
free list. This cannot be larger than HOST_BITS_PER_INT for the free list. This cannot be larger than HOST_BITS_PER_INT for the
in_use bitmask for page_group. */ in_use bitmask for page_group. Hosts that need a different value
#define GGC_QUIRE_SIZE 16 can override this by defining GGC_QUIRE_SIZE explicitly. */
#ifndef GGC_QUIRE_SIZE
# ifdef USING_MMAP
# define GGC_QUIRE_SIZE 256
# else
# define GGC_QUIRE_SIZE 16
# endif
#endif
/* Initial guess as to how many page table entries we might need. */ /* Initial guess as to how many page table entries we might need. */
#define INITIAL_PTE_COUNT 128 #define INITIAL_PTE_COUNT 128
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment