diff options
author | obrien <obrien@FreeBSD.org> | 1999-06-28 09:05:56 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-06-28 09:05:56 +0000 |
commit | 11285d42bb4c05f219f149f17a234abc8ca964c3 (patch) | |
tree | 22ba14b623c0204901385ba7c42a5fcfe46d888c /contrib/gcc | |
parent | 0d5e2c5c4f541a3a603c249d8a1f78902eb7437c (diff) | |
download | FreeBSD-src-11285d42bb4c05f219f149f17a234abc8ca964c3.zip FreeBSD-src-11285d42bb4c05f219f149f17a234abc8ca964c3.tar.gz |
Define "OBSTACK_CHUNK_SIZE" as getpagesize().
Our malloc can allocte pagesized blocks efficiently and the EGCS default size
of 4072 bytes is not optimal.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/config/freebsd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h index a976859..fef04ce 100644 --- a/contrib/gcc/config/freebsd.h +++ b/contrib/gcc/config/freebsd.h @@ -1,4 +1,4 @@ -/* $Id: freebsd.h,v 1.11 1999/04/28 18:48:06 obrien Exp $ */ +/* $Id: freebsd.h,v 1.12 1999/04/30 19:12:51 obrien Exp $ */ /* Base configuration file for all FreeBSD targets. Copyright (C) 1999 Free Software Foundation, Inc. @@ -82,6 +82,10 @@ Boston, MA 02111-1307, USA. */ #undef DEFAULT_VTABLE_THUNKS #define DEFAULT_VTABLE_THUNKS 1 +/* Our malloc can allocte pagesized blocks efficiently. The default size + of 4072 bytes is not optimal on the i386 nor the Alpha. */ +#define OBSTACK_CHUNK_SIZE (getpagesize()) + /* Miscellaneous parameters. */ |