fix(agc): cache Linux describePages results (PR #1810 resubmission) #2660
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2660"
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 boykopovar/AnyPS5. Originally posted by sridhar777911 on 2026-10-10T10:21:42Z.
Description
This PR safely resubmits PR #1810 which was previously closed due to administrative/conventions issues initially, now resolved.
What
describePages stored the whole VMA that PROCMAP_QUERY or /proc/self/maps returned. Linux merges adjacent anonymous mappings with equal flags, so an arena VMA can span GiBs, and the first table miss inside it after an invalidation rewrote every page of it. Only the pages of the request, rounded out to whole pages, are stored now, as #1791 describes.
Tested
Rechecked conventions locally. Wait for CI tests to pass.
Checklist
ctesttools/check_conventions.pyImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T10:27:15Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/tests/GuestAllocations.cppL2, L189Imported from boykopovar/AnyPS5. Originally posted by ArjenS-LA on 2026-10-10T10:34:31Z.
At head
25c5e395, the newGuestAllocations.cpptests still callMutation::AddandMutation::Protectwithout thegpuargument required by current main. These calls need updating before the Linux test target can compile.Also, #1810 is still open, and its latest maintainer update already includes that API repair and a regression that fails when caching is reverted. Could the bounded-range recording change here be coordinated with #1810, retaining its regression and
Depends on #861? The description currently says #1810 was closed, which doesn’t match its current state.Made with AI Assistance.
Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-10T15:57:35Z.
Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), RTX 3060 Laptop (NVIDIA 616.92), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head
25c5e395, merged ontomain57f96fd2bin one build with 4 other new PRs.agc_driver_graphics(which includesGuestAllocations.cpp) passes, so this only checks that the Windows build and test are unaffected.No title was run.
🤖 Addressed by Claude Code
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T18:08:27Z.
Closing: this is #1810, which is still open, and the new test doesn't build on main (
Mutation::Add/Protectneed thegpuargument). Changes to that fix belong on #1810.Pull request closed