real time kernel: benefits
real time kernel: benefits
Posted Sep 21, 2024 13:32 UTC (Sat) by nevets (subscriber, #11875)In reply to: real time kernel: benefits by atai
Parent article: The realtime preemption pull request
I always say that the biggest difference tht PREEMPT_RT gives you is bounded latency. That is, there's no "unbound priority inversion".
It also flattens the task context. Interrupt handlers and softirqs run at the same context as normal tasks. This allows other tasks of higher priority to preempt them and have better response times.
Most spin locks become mutexes and allow preemption while they are held.
I gave a talk about this back in 2007 that explains this at Ottawa Linux Symposium and most of it still applies
