victory-gpu: keep port 2 sync parts disjoint and fix fallback counters #354

Manually merged
github merged 1 commit from gh-pr/354/head into gh-pr/354/base 2026-11-27 00:58:21 +00:00
Owner

@⁠SalmanBarkat on GitHub · 2026-11-26 21:42 UTC · original
SalmanBarkat:fix/port2-disjoint-parts-and-counters → a-publier · +228 −15 · 2 files · 1 commits · merged 2026-11-26 22:30 UTC

Fixes #338.

  • Trim or drop taken port 2 mark runs that overlap fallback check pages via \port_descriptors::plan_parts, keeping all \sync_heaps\ parts disjoint as required by \host::Copied.
  • Track taken slots covered by fallback pages (\was_taken_in_check) so the fallback does not report already-taken marks as missed.
  • Count tabled records (\CHECKED[5]) only after the \marked()\ early return in \port_descriptors::missed.
  • Drive the fallback WARN throttle from the global \MISSED_ALL\ counter instead of \CHECKED[1]\ so \line()\ no longer resets the warning cap.
  • Add unit tests in \port_descriptors::tests\ covering disjoint part planning, overlap suppression, tabled counting order, and global WARN throttling.
**@⁠SalmanBarkat** on GitHub · 2026-11-26 21:42 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/354) `SalmanBarkat:fix/port2-disjoint-parts-and-counters` → `a-publier` · +228 −15 · 2 files · 1 commits · merged 2026-11-26 22:30 UTC Fixes #338. - Trim or drop taken port 2 mark runs that overlap fallback check pages via \port_descriptors::plan_parts\, keeping all \sync_heaps\ parts disjoint as required by \host::Copied\. - Track taken slots covered by fallback pages (\was_taken_in_check\) so the fallback does not report already-taken marks as missed. - Count tabled records (\CHECKED[5]\) only after the \marked()\ early return in \port_descriptors::missed\. - Drive the fallback WARN throttle from the global \MISSED_ALL\ counter instead of \CHECKED[1]\ so \line()\ no longer resets the warning cap. - Add unit tests in \port_descriptors::tests\ covering disjoint part planning, overlap suppression, tabled counting order, and global WARN throttling.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:58:19 +00:00
github manually merged commit 4ad8527072 into gh-pr/354/base 2026-11-27 00:58:21 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.