weirddan455 / futex-test

Simple C program for Linux that tests if the kernel supports additional futex functions used by Wine
MIT License
11 stars 1 forks source link

kernel 5.16.2-200.fc35.x86_64 #2

Closed didierga closed 7 months ago

didierga commented 2 years ago

Hi,

I tried to run futex-test on kernel 5.16.2-200.fc35.x86_64 and I get this result:

$ ./futex-test
Kernel name: Linux
Kernel version 5.16.2-200.fc35.x86_64
Linux kernel detected
futex-FUTEX_WAIT_MULTIPLE: Function not implemented
futex-FUTEX_WAIT_MULTIPLE: Function not implemented
FUTEX_WAIT_MULTIPLE test failed
access /sys/kernel/futex2: No such file or directory
futex2 test failed
Mainline (kernel 5.16+) futex2 test successful
$

What is wrong ?

weirddan455 commented 2 years ago

Nothing's wrong. I get the same results on my stock 5.16 kernel. The failed tests are for the older implementations. They were kernel patches that never got merged into the mainline kernel but were widely used in custom kernels.

You will need to check that your wine/proton version supports the new 5.16 implementation if you want to take advantage of this but I'm not sure what the status of that is.