This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
hpux 10.20 and mmap everywhere
- To: gcc at gcc dot gnu dot org
- Subject: 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:38:42 -0400 (EDT)
Although hpux 10.20 doesn't have /dev/zero and mmap doesn't support MAP_ANON,
it recently came to my attention that mmap does support MAP_ANONYMOUS with a
file descriptor of -1. Also, you have to be somewhat careful the placement
of the mapped region.
The GNU gc routines will use mmap in preference to valloc if HAVE_MMAP_ANYWHERE
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?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)