-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small question #1130
Comments
Don't think it's needed in practice, io_uring_get_sqe() isn't thread safe to begin with. Care to send a patch? |
Right away, you'll have it shortly! |
@axboe It's here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm wondering, do we really need the io_uring_smp_load_acquire barrier? As I understand it, while the code in the following if statement might be executed speculatively, the side effects of that execution are only supposed to be visible to other threads when it is clear that the condition is met.
Removing the barrier, I have compiled liburing on a weakly ordered armv7 and run the tests repeatedly. No error occurred.
The text was updated successfully, but these errors were encountered: