Modernizing stalld with eBPF
• kernel
Last year I started working on
stalld, a daemon
that prevents thread starvation in real-time Linux systems. On systems with
isolated CPUs running high-priority RT tasks, essential kernel threads can
starve indefinitely. stalld monitors CPU run queues and temporarily boosts
starving threads using SCHED_DEADLINE (or SCHED_FIFO as fallback).