Skip to content

tools: inventory captured writes to aliased material allocations - #466

Merged
pablogonz12 merged 2 commits into
mainfrom
lane/fox-writer-audit-1202
Dec 3, 2026
Merged

pablogonz12 merged 2 commits into
mainfrom
lane/fox-writer-audit-1202

Conversation

@pablogonz12

Copy link
Copy Markdown
Owner

Independent host-only diagnostic for #454. Inventories legacy memory bindings, explicit transfer destinations, ordinary and template storage-buffer references, and captured mapped fills. Two synthetic tests passed. In the existing private Fox trace, the selected allocation has two buffer aliases and no image aliases, 369 mapped fills, and zero candidates in the supported forms. This is not proof of absence of GPU writes or identification of the original producer; the capture is trimmed. No device access, capture data, driver changes, or performance claims.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fd2d156 and b47718a.

Files selected for processing: 3

  • tools/trace-analysis/allocation-writes.md
  • tools/trace-analysis/allocation_writes.py
  • tools/trace-analysis/test_allocation_writes.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copy link
Copy Markdown
Owner Author

Please review the bounded host-only alias-write inventory, especially unsupported binding/descriptor forms and the distinction between absence of supported candidates and absence of GPU writes. @coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

@pablogonz12 I’ll review the inventory’s handling of unsupported binding and descriptor forms. I’ll also check that it distinguishes zero supported candidates from the absence of GPU writes.


Learnings used

Learnt from: pablogonz12
Repo: pablogonz12/OpenMali PR: 405
File: vk/src/mali_backend_kbase.c:788-789
Timestamp: 2026-11-27T22:33:44.562Z
Learning: Within repository "pablogonz12/OpenMali", only for files matching one of ["vk/src/mali_backend_kbase.c","vk/src/mali_buffer.c"]: In vk/src/mali_backend_kbase.c, mem_sync_bos iterates over tracked BOs on submits and waits, including BOs unrelated to the submitted work. The buffer-binding path in vk/src/mali_buffer.c calls bo_host_touch on the BO, so the fact that a buffer has not yet been submitted does not by itself rule out overlap between that callback and the device-wide sync sweep.
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@pablogonz12
pablogonz12 marked this pull request as ready for review December 3, 2026 14:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T14:39:02.638850Z 7b61409 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pablogonz12
pablogonz12 merged commit 40c264f into main Dec 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant