July 9, 2026
2:11 p.m.
Memory mapping functions are supposed to guarantee that all operations on the buffer are complete before returning (technically, the same is true for persistent mappings, but it's much less likely to matter there). We could perhaps change use_driver_buffer_map to return true for pinned buffers and deal with the consequences, but I'm not entirely sure. CC @dlesho who looked at this in more details. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11343#note_145290