From: Julian Seward Date: Wed, 24 Apr 2002 14:44:23 +0000 (+0000) Subject: Allow more slack with VG_STARTUP_STACK_MASK. Also increase some X-Git-Tag: svn/VALGRIND_1_0_3~320 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3a47aa615002f705aa82904a7c1e1ac1bdcedcf;p=thirdparty%2Fvalgrind.git Allow more slack with VG_STARTUP_STACK_MASK. Also increase some table sizes, for Galeon. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@131 --- diff --git a/coregrind/vg_include.h b/coregrind/vg_include.h index ca5cc0c4f4..0c00e1ab83 100644 --- a/coregrind/vg_include.h +++ b/coregrind/vg_include.h @@ -77,7 +77,7 @@ #define M_VG_MSGBUF 10000 /* Size of a smallish table used to read /proc/self/map entries. */ -#define M_PROCMAP_BUF 20000 +#define M_PROCMAP_BUF 50000 /* Max length of pathname to a .so/executable file. */ #define M_VG_LIBNAMESTR 100 @@ -126,7 +126,7 @@ scheduler algorithms is surely O(N) in the number of threads, since that's simple, at least. And (in practice) we hope that most programs do not need many threads. */ -#define VG_N_THREADS 30 +#define VG_N_THREADS 50 /* Maximum number of pthread keys available. Again, we start low until the need for a higher number presents itself. */ @@ -607,7 +607,7 @@ extern Int VG_(longjmpd_on_signal); /* We check that the initial stack, which we can't move, is allocated here. VG_(scheduler_init) checks this. */ -#define VG_STARTUP_STACK_MASK (Addr)0xBFFF8000 +#define VG_STARTUP_STACK_MASK (Addr)0xBFF80000 /* The red-zone size which we put at the bottom (highest address) of diff --git a/vg_include.h b/vg_include.h index ca5cc0c4f4..0c00e1ab83 100644 --- a/vg_include.h +++ b/vg_include.h @@ -77,7 +77,7 @@ #define M_VG_MSGBUF 10000 /* Size of a smallish table used to read /proc/self/map entries. */ -#define M_PROCMAP_BUF 20000 +#define M_PROCMAP_BUF 50000 /* Max length of pathname to a .so/executable file. */ #define M_VG_LIBNAMESTR 100 @@ -126,7 +126,7 @@ scheduler algorithms is surely O(N) in the number of threads, since that's simple, at least. And (in practice) we hope that most programs do not need many threads. */ -#define VG_N_THREADS 30 +#define VG_N_THREADS 50 /* Maximum number of pthread keys available. Again, we start low until the need for a higher number presents itself. */ @@ -607,7 +607,7 @@ extern Int VG_(longjmpd_on_signal); /* We check that the initial stack, which we can't move, is allocated here. VG_(scheduler_init) checks this. */ -#define VG_STARTUP_STACK_MASK (Addr)0xBFFF8000 +#define VG_STARTUP_STACK_MASK (Addr)0xBFF80000 /* The red-zone size which we put at the bottom (highest address) of