Skip to content

queue: Move allocation out of mutex#44

Open
avdgrinten wants to merge 2 commits into
managarm:masterfrom
avdgrinten:allocate-outside-locks
Open

queue: Move allocation out of mutex#44
avdgrinten wants to merge 2 commits into
managarm:masterfrom
avdgrinten:allocate-outside-locks

Conversation

@avdgrinten
Copy link
Copy Markdown
Member

We will forbid allocations inside spinlocks in the future in Managarm, so this PR moves the allocation in async::queue out of the mutex (which is a spinlock in Thor).

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