Skip to content
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

[core] Implement io_uring #39

Open
ammarfaizi2 opened this issue Jun 24, 2021 · 0 comments
Open

[core] Implement io_uring #39

ammarfaizi2 opened this issue Jun 24, 2021 · 0 comments
Assignees
Labels
core Core functionallity

Comments

@ammarfaizi2
Copy link
Contributor

I am going to replace epoll with io_uring, however io_uring syscall is only available for Linux 5.1+, hence I will not drop the epoll support, I will just make a dispatcher to detect kernel version at runtime.

IOW, we can say like this:

if (linux_version >= 5.1) {
   // use io_uring
} else {
   // fallback to epoll
}
@ammarfaizi2 ammarfaizi2 self-assigned this Jun 24, 2021
@ammarfaizi2 ammarfaizi2 added the core Core functionallity label Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionallity
Projects
None yet
Development

No branches or pull requests

1 participant