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

Merged
SalmanBarkat merged 1 commit from upstream-pr/354 into a-publier 2026-11-26 22:30:23 +00:00
SalmanBarkat commented 2026-11-26 21:42:33 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by SalmanBarkat on 2026-11-26T21:42:33Z.


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.
<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:5517532921 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/354). Originally posted by [SalmanBarkat](https://github.com/SalmanBarkat) on 2026-11-26T21:42:33Z. --- 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Belobug/VIctory-Belobug-AMD!354
No description provided.