-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Enable/Disable Futex support for io_uring #5628
Comments
The enabling or disabling of the iouring futex feature is determined by the output of |
Alternatively using |
It is not a answer. |
For file operations, it doesn't have much impact; the main purpose of the iouring futex feature is to support coroutine locks. |
For now during build swoole from source code configure script check linux kernel version (>6.7) and enable futex support automatically. But what happen if build happened for example on kernel v6.8 (or just in docker container with latest kernel), but docker container will be run on host machine with kernel v6.6? io_uring will not works?
It will be common situation in real world, LTS linux release - v6.6 and another LTS v6.12 only recently appear - all cloud & hosters, etc do not have fresh linux kernel...
For now can possible not using io_uring (do not include
--enable-iouring
) but no--enable-futex
or--disable-futex
configure options...The text was updated successfully, but these errors were encountered: