memory: recycle a 512 MB budget of ray-tracing fault pages #401

Open
github-bot wants to merge 1 commit from github-bot/gh-401 into main AGit
Owner

@⁠Kikoarl on GitHub · 2026-11-27 21:55 UTC · original
Kikoarl:feat/rt-recycled-page-budget → main · +423 −46 · 1 files · 1 commits · open

Summary

Ports the 512 MB recycled ray-tracing fault-page budget and fault-miss breakdown from fxceless/victory-fork commit 3e573d2556adc5a5b22ccd2d6d92231a72ee55bb (GPL-3.0-or-later), rebased onto main (df2daaf).

Changes

  • crates/victory-gpu/src/memory.rs:
    • Tracks fault-allocated ray-tracing pages separately under a 512 MB budget, recycles oldest fault pages first when pressure hits (goes_first, fault_room, give_back), and reports the per-frame fault-miss breakdown while preserving merged PR #88 (Memory::another).

Distinct from PR #181 (shadow::exact() buffer pooling) and PR #295 (placed-page write-watch stamps).

Verification

Verified on Windows (x86_64-pc-windows-msvc) against main (df2daaf):

  • git diff --check main..HEAD — clean
  • cargo test -p xtask --locked — 6 passed, 0 failed (asset policy: 287 files ok)
  • cargo clippy -p victory-gpu --all-targets --locked — exit 0, 0 warnings in changed files (main has pre-existing clippy warnings in untouched files)
  • cargo test -p victory-gpu --locked memory:: — 5 passed, 0 failed
**@⁠Kikoarl** on GitHub · 2026-11-27 21:55 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/401) `Kikoarl:feat/rt-recycled-page-budget` → `main` · +423 −46 · 1 files · 1 commits · open ### Summary Ports the 512 MB recycled ray-tracing fault-page budget and fault-miss breakdown from `fxceless/victory-fork` commit `3e573d2556adc5a5b22ccd2d6d92231a72ee55bb` (`GPL-3.0-or-later`), rebased onto `main` (`df2daaf`). ### Changes - **`crates/victory-gpu/src/memory.rs`**: - Tracks fault-allocated ray-tracing pages separately under a 512 MB budget, recycles oldest fault pages first when pressure hits (`goes_first`, `fault_room`, `give_back`), and reports the per-frame fault-miss breakdown while preserving merged PR #88 (`Memory::another`). Distinct from PR #181 (`shadow::exact()` buffer pooling) and PR #295 (placed-page write-watch stamps). ### Verification Verified on Windows (`x86_64-pc-windows-msvc`) against `main` (`df2daaf`): - `git diff --check main..HEAD` — clean - `cargo test -p xtask --locked` — 6 passed, 0 failed (`asset policy: 287 files ok`) - `cargo clippy -p victory-gpu --all-targets --locked` — exit 0, 0 warnings in changed files (`main` has pre-existing clippy warnings in untouched files) - `cargo test -p victory-gpu --locked memory::` — 5 passed, 0 failed
Port the recycled ray-tracing fault-page budget from fxceless/victory-fork commit 3e573d2556adc5a5b22ccd2d6d92231a72ee55bb (including the fault-miss breakdown from 52dfd12 carried in 3e573d2) into crates/victory-gpu/src/memory.rs while preserving PR #88 (30b979ee) in Memory::another.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 21:58:21 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/401/head:github-bot/gh-401'
git switch 'github-bot/gh-401'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-401'
git switch 'github-bot/gh-401'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-401'
git switch 'github-bot/gh-401'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-401'
git switch 'main'
git merge --squash 'github-bot/gh-401'
git switch 'main'
git merge --ff-only 'github-bot/gh-401'
git switch 'main'
git merge 'github-bot/gh-401'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.