31 Jan
2024
31 Jan
'24
4:58 p.m.
On Wed Jan 31 16:58:08 2024 +0000, Jinoh Kang wrote:
If the host and guest page sizes don't match, I think we should prefer the original size for mmap(2). Note that we also use original size for munmap(2). ```suggestion:-0+0 if ((tmp = mmap( NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, get_unix_fd( mapping->fd ), 0 )) == MAP_FAILED) ``` Done thanks.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3103#note_59660