This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PCH support on Solaris
- From: "Paolo Bonzini" <bonzini at gnu dot org>
- To: <ebotcazu at libertysurf dot fr>,"Ulrich Weigand" <Ulrich dot Weigand at de dot ibm dot com>
- Cc: <geoffk at geoffk dot org>,<gcc-patches at gcc dot gnu dot org>
- Date: Fri, 4 Apr 2003 22:45:26 +0200
- Subject: Re: PCH support on Solaris
- References: <OF69118409.35074474-ONC1256CFE.004BA0AD@de.ibm.com>
> Note that there is a way to ensure no existing mappings will be
> clobbered before using MAP_FIXED on Solaris, without having to
> try to get some other mapping at that location first:
Yes, that's why Eric does an anonymous mmap with PROT_NONE and MAP_NORESERVE
first. I don't understand why you cannot do that only and you need separate
heuristics. Do you have a measurable performance decrease (which I don't
think)?
Paolo