This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PCH support on Solaris


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]