Futexes are cursed

2,611 views · Published 4 April 2017 · 26:48 · Indexed 27 October 2026

Channel: The Linux Foundation · 2017 · Science & Technology

Watch on YouTube

Futexes are cursed - Sebastian Siewior, Linutronix


Abstract

The design of the FUTEX API led to a state where the kernel knows very little where a futex may be and who may do what to it. The kernel code has a few regular cases which are handled and most of it are corner cases. On -RT we suffer a little more than the others. However the improvements made in -RT also benefit non-RT people. This talk highlights some of them, how we found them, what we did about it.

Audience

RT users and developers

Biography

Sebastian Siewior, Linutronix GmbH

Sebastian Siewior maintains the Preempt-RT patchset for several years as part of his work for Linutronix, and once he even ported -RT to m68knommu. Two years ago he presented what it means to play catch up with mainline with the -RT patchset at Linux Plumbers.

More from this channel