[PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 8 16:27:00 GMT 2019


On Aug  8 16:06, Ken Brown wrote:
> On 8/8/2019 4:55 AM, corinna-cygwin@cygwin.com wrote:
> > From: Corinna Vinschen <corinna-cygwin@cygwin.com>
> > 
> > This avoids collisions of shmat maps with Windows own datastructures
> > when allocating top-down.
> > 
> > This patch moves the mmap_allocator class definition into its
> > own files and just uses it from mmap and shmat.
> 
> This makes sense to me, and it fixes the hexchat fork problem.  Thanks!
> 
> Ken

Thanks, Ken & Michael!

> P.S. I got a whitespace warning from git when I applied the patch.  There's a 
> blank line at the end of mmap_alloc.cc.

Thanks, I dropped the empty line and fixed an unintended reordering in
mmap_alloc.cc.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20190808/7cd90a41/attachment.sig>


More information about the Cygwin-patches mailing list