Repository navigation
docs(agc): say that a settled import stays compared while a live storage image overlaps it - #8426
Closed
thuanquang wants to merge 1 commit into
Closed
thuanquang wants to merge 1 commit into
thuanquang wants to merge 1 commit into
Conversation
…age image overlaps it Co-Authored-By: Claude <noreply@anthropic.com>
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
12 tasks done
Contributor
Author
harisibrar1
approved these changes
Oct 21, 2026
harisibrar1
left a comment
Contributor
There was a problem hiding this comment.
Checked against main:
GuestBufferMemory.cpp:1167-1189(rewatchSettledImports): after the settle completes, ifStorageTexture::AnyLiveOverlaps(GuestBufferMemory.cpp:1177) finds a storage image over the import, the pending settle is erased and the import is skipped (settlesKeptCompared). It is not returned to the write watch later, and nothing there checks for pending results, so the old "while storage results are pending" was too narrow.Texture.cpp:4088-4098and:3520-3522:AnyLiveOverlapsis true for any unreleased storage texture with guest bytes that overlaps the range, pending or not, which matches "a live storage image overlaps them".tools/check_conventions.py --base main --head pr-8426: only thedebt-lengthwarning for an entry that was already over the limit (2302 characters before, 2296 after).- The text is correct as it stands; #8527 is still open, so as you noted this becomes redundant only if that lands first.
Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.
Contributor
Author
|
Closing: #8527 (merged) rewrote the "Pages under an import window" entry, and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The
Pages under an import windowentry indocs/dev/debt/libSceAgcDriver.mdsays a settled import's blocks "stay compared while storage results are pending over them". Since #7476 (062326351, "keep a settled import compared while a storage image overlaps it"),rewatchSettledImports(GuestBufferMemory.cpp:1164-1177onmain) erases the pending settle and keeps the import compared whenStorageTexture::AnyLiveOverlapsfinds any live storage image over it, whether or not results are pending; it does not return to the write watch later. The clause now reads "Its blocks stay compared if a live storage image overlaps them".Tested
Docs only; nothing was built or run. Checked on
mainby readingGuestBufferMemory.cpp:1164-1189(rewatchSettledImports) andStorageTexture::AnyLiveOverlapsinTexture.cpp. (main02b5a8e55)python tools/check_conventions.py --base origin/mainwith this title and body: 0 errors and onedebt-lengthwarning, because the entry was already over 1000 characters (2302 before, 2296 after this change).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code