23 May
2023
23 May
'23
11:17 p.m.
Doesn't this affect 64-bit as well? Or am I misreading?
I added the range to both the 32- and 64-bit reservations for two reasons: it was happening unconditionally before this patch, and I assumed (perhaps wrongly) it's useful for wow.
It also shouldn't make any difference for non-PE 32-bit, since that address range is apparently unavailable already.
For whatever reason, non-PE 32-bit ntdll does tend to get put where it wants, but I was testing that with an old Wine version and it's nondeterministic anyway. It does seem that even in that case it's unmapped early enough that there's a period where the system can reclaim the space. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2879#note_33608