[PATCH 0/2] Unaligned mmap() on Mac OS X

Ken Thomases ken at codeweavers.com
Wed May 12 19:10:36 CDT 2010


On May 12, 2010, at 6:53 PM, Charles Davis wrote:

> On 5/12/10 5:37 PM, Ken Thomases wrote:
>> What problems does this cause?
> It makes Wine use more memory than it needs to.
> 
> http://wiki.winehq.org/UnalignedMmap
>> Can't we achieve that just by avoiding the mapping of the "mmap" identifier to the _mmap$UNIX2003 symbol?
> We could for 32-bit, but not 64-bit.

And does the problem still matter in 64-bit?

Also, are unaligned PE images also prevalent for 64-bit executables?  There are many cases in which 64-bit ABIs impose stricter alignment requirements.  I don't know if this is one of them.

-Ken




More information about the wine-devel mailing list