It Appears FUTEX2 Will Land For Linux 5.16
Written by Michael Larabel in Linux Kernel on 9 October 2021 at 06:39 AM EDT. 25 Comments
LINUX KERNEL --
Barring any last minute reservations it appears the initial "FUTEX2" work that is of much interest to Linux gamers enjoying Steam Play / Proton will find that kernel functionality in Linux 5.16.

The FUTEX2 work was slimmed down this year to focus just on the WaitForMultipleObjects-type behavior as offered by Windows. Those patches in turn were picked up for tip/tip.git's "locking/core" branch. With it now hitting this Git branch, it makes it almost definite that it will be found in the next merge window (Linux 5.16) barring any problems creeping up that would cause a revert.

The focus of this work by Collabora has been on the "futex_waitv" system call to address the needs of Wine/Proton by better matching Windows' WaitForMultipleObjects behavior with more efficient emulation. User-space patches are pending to make use of this new system call and in turn allow for Windows games running on Linux to operate more efficiently.

With time there still are goals to also make the FUTEX2 code handle variable-sized futexes, NUMA-awareness, and other improvements over the original FUTEX implementation but for now the immediate need has been the wait-on-multiple support.


So rejoice this weekend that the code has been picked up in the important locking/core branch ahead of Linux 5.16.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week