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>
This commit is contained in:
parent
33638e9384
commit
7675d60dff
@ -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. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user