Skip to content

chore: bump amd-hami-core for the init guard race fix - #143

Merged
moezdil merged 1 commit into
mainfrom
chore/bump-hami-core
Oct 6, 2026
Merged

moezdil merged 1 commit into
mainfrom
chore/bump-hami-core

Conversation

@moezdil

@moezdil moezdil commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

Bumps amd-hami-core to Project-HAMi/amd-hami-core#20. Its shared region and /proc/1/environ init guards spun on plain volatile reads with no acquire, so a waiting thread could see the ready state before the data it guards; ThreadSanitizer reported four races in a 16-thread init test. Both now publish with acquire/release. The rest of #20 removes sources the build never compiled. On an RX 9060 XT the rebuilt hook still stops hipMalloc at the limit and grants 6 of 8 concurrent 600 MiB allocations under 4096 MiB.

AI Disclosure:

AI assisted in writing this change.

Picks up Project-HAMi/amd-hami-core#20: the shared region and environ init
guards publish with acquire/release instead of plain volatile reads, and
dead sources are removed.

Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
@hami-robot hami-robot Bot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 6, 2026
@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f40739da-ef3c-498f-868b-34deef6f11ad
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@hami-robot

hami-robot Bot commented Oct 6, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: moezdil

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@moezdil
moezdil merged commit abb93e9 into main Oct 6, 2026
10 of 11 checks passed
@moezdil moezdil mentioned this pull request Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant