This is the mail archive of the gcc@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]

Whats the real penalty of non-mmap ggc?


Hi all,

After days spent trying to get a clean gmake check run, I am down to the last few failures. They are all related to the PCH tests, and they all
fail the same way: "largefile.c:1: fatal error: had to relocate PCH".
Previously, *all* PCH tests were failing but I crafted a host file
that uses MAP_FIXED and now only this one test fails. However, if I
pretend that mmap() doesn't exist in ggc-page.c and fall back on
valloc, then everything passes. But the comments say that is not the
prefered solution. My question is: exactly what kind of penalty would
I pay if I forced the use of valloc() versus using mmap?


Any advice greatly appreciated.

Kean


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