Skip to content

Ports and hacks to support Futex priority inheritance locking operations#210

Draft
arthurp wants to merge 3 commits intomainfrom
arthurp/futex-pi
Draft

Ports and hacks to support Futex priority inheritance locking operations#210
arthurp wants to merge 3 commits intomainfrom
arthurp/futex-pi

Conversation

@arthurp
Copy link
Copy Markdown
Contributor

@arthurp arthurp commented Apr 7, 2026

  • ports atomic operations from upstream (using claude meaning it needs lots of auditing).
  • add hacked implementations of the futex priority inheritance locking operations (FUTEX_LOCK_PI and related). These operations do not actually implement priority inheritance and have incorrect and wasteful implementations in other ways as well.

arthurp and others added 3 commits April 7, 2026 10:48
Cherry-picked from e4fafb13b16b6b573a973ec163b466a1c96f3a21

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@arthurp
Copy link
Copy Markdown
Contributor Author

arthurp commented Apr 20, 2026

These are hacks that would make it possible to run filebench. This is an alternative to #213, but this makes futexes strictly wrong. So this should only be used if we really need it.

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