Xmem: honour 32-bit allocation alignment #2527
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2529"
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 XratePirate on 2026-11-25T15:21:52Z.
Honour the requested layout.align() for ALLOC_32BIT allocations in XMemAllocDefault and add a unit test.
Closes #2183
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:58:10Z.
Automated triage for the maintainers.
Proposed close: duplicate of #2184. Re-checked at the new head
7a37340. Thank you for the update. The change toXMemAllocDefaultincrates/victory-hle/src/modules/xmem.rsis still the same fix as #2184, which is open, merges cleanly, carries the merge-candidate label and also closes #2183: the 32-bit branch passes the attributes' alignment above 64 KiB toMEM_ADDRESS_REQUIREMENTS::Alignmentthrough a private helper split out ofXMemVirtualAlloc.#2184 has the stronger test. It keeps four live blocks per alignment, so a block cannot pass by landing on a coarser boundary by chance, and it checks that they are writable.
alloc_default_32bit_honours_alignmenthere checks one block per alignment.If this PR covers a case #2184 misses, say which one and the verdict can be revisited.
This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the
triage: proposed closelabel.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.