Linus Torvalds has contributed to the Linux 6.13 kernel with a performance optimization targeting the Futex (fast user-space mutex) code. This minor improvement streamlines user-space access by addressing inefficiencies in the __get_user() function and modernizing the futex_get_value_locked() implementation. The changes include using updated user access helpers and reducing unnecessary barriers, particularly for x86 architectures. The revised code, though small, has been positively reviewed by Josh Poimboeuf, who noted its correctness despite not re-benchmarking it yet.
This optimization builds on Torvalds' earlier work in Linux 6.12 and is part of a broader range of enhancements arriving in Linux 6.13. These updates include new features, performance boosts, and contributions like Rust infrastructure, GPU improvements, and power-saving patches. Linux 6.13 is shaping up to be an exciting release for the community.