Repository navigation
Conversation
resolve_physical_pages committed each page's home as it resolved it: a multi-page read or write that failed on a later page left the earlier pages' sparse homes reserved, memory the title cannot account for. All page_home lookups are collected and validated before the first home_again runs; the success path resolves the same homes in the same order as before. Measured: cargo test -p xcl --lib kernelx at this head: 37 passed, 0 failed, 1 ignored; the new test fails without the fix. Assisted-by: opencode (Sonnet fix and gate; HY4 Flash Free)
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.
resolve_physical_pagescommitted each page's home as it resolved it: a multi-page read or write that failed on a later page left the earlier pages' sparse homes reserved — memory the title cannot account for, surfacing later as an allocation or mapping failure.What is in it
page_homelookup forpages[..need]is collected and validated before the firsthome_againruns; a failed read or write commits nothing.failed_physical_page_read_or_write_does_not_commit_earlier_sparse_homes: a write and a read that fail on their second page leave the first page's home uncommitted (the test no-ops on an adapter without sparse pages).Tested
stable-x86_64-pc-windows-msvc; DXC 1.9.2609.5 throughXCL_DXC_DIR;CARGO_PROFILE_TEST_DEBUG=0.cargo test -p xcl --lib kernelxat the head: 37 passed, 0 failed, 1 ignored. The new test fails without the fix (verified by reverting the fix hunk and back).cargo build --workspacethencargo test --workspace --no-fail-fast -- --test-threads=4): 876 passed, 0 failed, 38 ignored (20 test binaries;SKIPPED:pso_measurement_compiles_an_exact_synthetic_record— cannot disable the driver cache;heap_window_out_of_memory_falls_back_to_the_switch_form— no heap windows).title:line readsretail-title, the folder name is withheld):main (
85e3826, clean tree):head (
dbdc480, clean tree):Not tested
AI use
Mirror of xcl-dev#1781 (auto-synced, do not edit).