This is the mail archive of the cygwin-developers mailing list for the Cygwin 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: Performance optimization in av::fixup - use buffered IO, not mapped file


On 12/10/2012 7:51 PM, Daniel Colascione wrote:
> The key to generating a binary that repros the problem is to unexec emacs, then
> try to repro with that generated binary, not a copy of it.

The real explanation is a lot simpler: the binary is sparse. When you create a
file mapping object for a sparse file, Windows discards all cached pages for
that file. It makes sense that compilers (and Emacs unexec) would create sparse
files as they seek around inside their outputs.

Attachment: signature.asc
Description: OpenPGP digital signature


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