Skip to content

Conversation

@glommer
Copy link
Contributor

@glommer glommer commented Mar 19, 2021

This method takes a slice from the sqe queue, but that is completely
wrong: the sqe queue is a circular buffer, so if you try to get 2
elements at position n - 1 you access invalid memory.

This patch transforms the very helpful SQEs structure so that it now
only has the information needed to access each SQE and constructs them
from there.

This method takes a slice from the sqe queue, but that is completely
wrong: the sqe queue is a circular buffer, so if you try to get 2
elements at position n - 1 you access invalid memory.

This patch transforms the very helpful SQEs structure so that it now
only has the information needed to access each SQE and constructs them
from there.
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