HLE: skip redundant commits when aliasing physical pages #2229
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2231"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by Chezzuss on 2026-11-25T08:26:38Z.
CopyPageMappingsBatchX can map a page that is already committed in the pool view. The alias maps the same section offset, so it can skip the extra VirtualAlloc(MEM_COMMIT) call. First mappings and partial-unmap restoration retain the current path.
The synthetic XMem test checks that the alias is committed, shares its bytes with the source, and makes zero extra commit calls. All 10 XMem tests passed locally on Windows 11. The Windows CI check passed.
AI-assisted.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T08:48:28Z.
Review: COMMENTED
HLE: skip redundant commits when aliasing physical pages. Static review only: victory-gpu/victory-hle are Windows-only (D3D12/windows-sys); not compiled or tested on this macOS arm64 host. rustc 1.98.1.
Pull request closed