Skip to content

shared_mutex: Avoid taking platform::mutex if possible#34

Merged
avdgrinten merged 1 commit intomanagarm:masterfrom
avdgrinten:optimize-shared-mutex
Jan 23, 2026
Merged

shared_mutex: Avoid taking platform::mutex if possible#34
avdgrinten merged 1 commit intomanagarm:masterfrom
avdgrinten:optimize-shared-mutex

Conversation

@avdgrinten
Copy link
Member

Same strategy as in #33 but for async::shared_mutex (which unfortunately adds a lot more implementation complexity since the number of possible state transitions is much larger).

Also add a benchmark for shared_mutex.
@avdgrinten avdgrinten merged commit d99c66f into managarm:master Jan 23, 2026
2 checks passed
@avdgrinten avdgrinten deleted the optimize-shared-mutex branch January 23, 2026 19:35
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.

2 participants