This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: hpux 10.20 and mmap everywhere
- To: law at cygnus dot com
- Subject: Re: hpux 10.20 and mmap everywhere
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Fri, 7 Jul 2000 14:53:19 -0400 (EDT)
- Cc: gcc at gcc dot gnu dot org
> > The GNU gc routines will use mmap in preference to valloc if HAVE_MMAP_ANYW
> > HERE
> > support is available. Would the performance improvement from using mmap in
> > the gc routines be worth modifying configure and the gc routines for this
> > case?
> Using mmap is definitely preferred. Yes, the hpux mmap is a little
> different from the rest of the world. I've complained to folks writing
> autoconf tests to write them to be hpux-aware on and off for years....
I believe gcc currently uses its own local autoconf tests re mmap. They
are in aclocal.m4. Thus, a change at this point wouldn't affect the
autoconf development, although I am sure they would be interested. I think
what is needed is a MMAP_ANONYMOUS test.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)