Optimize bulk memory invalidation #124

Manually merged
github merged 1 commit from gh-pr/124/head into gh-pr/124/base 2026-11-26 09:11:21 +00:00
Owner

@⁠Nmzik on GitHub · 2026-07-29 02:54 UTC · original
KytyPS5:perf/bulk-memory-invalidation → main · +322 −228 · 16 files · 1 commits · merged 2026-07-29 03:09 UTC

  • Replace per-page host-write fault handling with range cache invalidation.
  • Preserve GPU-owned buffer and image data before file reads overwrite guest memory.
  • Track mapped ranges for fast full-range checks.
  • Add large-range ownership regression coverage.

Tests:

  • page_manager_tests
  • memory_tracker_tests
  • shader_recompiler_compute_tests
**@⁠Nmzik** on GitHub · 2026-07-29 02:54 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/124) `KytyPS5:perf/bulk-memory-invalidation` → `main` · +322 −228 · 16 files · 1 commits · merged 2026-07-29 03:09 UTC - Replace per-page host-write fault handling with range cache invalidation. - Preserve GPU-owned buffer and image data before file reads overwrite guest memory. - Track mapped ranges for fast full-range checks. - Add large-range ownership regression coverage. Tests: - `page_manager_tests` - `memory_tracker_tests` - `shader_recompiler_compute_tests`
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:11:19 +00:00
github manually merged commit 9fa1ba3543 into gh-pr/124/base 2026-11-26 09:11:21 +00:00
Author
Owner

@⁠Nmzik on GitHub · 2026-07-29 03:07 UTC · original · reviewed

Blocking finding: bulk invalidation now skips mapped pages whenever the destination range is only partially GPU-mapped.

**@⁠Nmzik** on GitHub · 2026-07-29 03:07 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/124#pullrequestreview-4803625023) · **reviewed** Blocking finding: bulk invalidation now skips mapped pages whenever the destination range is only partially GPU-mapped.
This discussion has been locked. Commenting is limited to contributors.
No description provided.