Or just use 64K pages on Cygwin. It sounds like that's what's going on. We may be fetching the page size incorrectly from the system. In fact, see how bogus the code currently in ggc-zone.c is for the page size?
Yes...
I suspect Cygwin is blameless here. The runtime page size detection would probably work better (but it's slower).
How much would be slower that, if it needs to be executed once per invocation? Looks like it's the way to go. -- Laurynas