mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 00:38:06 +08:00
This reinstates with one change commit 74017d229d5e ("Cygwin: mmap: use 64K pages for bookkeeping"), which was reverted in commit fd57eea5617a. The change is that in mmap_record::match, we now align the record length to the 4K Windows page boundary rather than the 64K Windows allocation granularity. The reason for this is explained in an extensive comment in the code. Addresses: https://cygwin.com/pipermail/cygwin-patches/2025q1/013240.html Fixes: 74017d229d5e ("Cygwin: mmap: use 64K pages for bookkeeping") Signed-off-by: Ken Brown <kbrown@cornell.edu>