3 ms·
> Apparently a malicious or poorly coded rt process could also completely lock the machine on rt kernel. This is false by default. The kernel reserves 5% (con
by PaulDavisThe1st 4y ago
> Apparently a malicious or poorly coded rt process could also completely lock
the machine on rt kernel.
This is false by default. The kernel reserves 5% (configurable) of CPU cycles for non-RT tasks, meaning that no RT task can lock the machine unless it also blocks all IRQs; this could be done by a non-RT task too, so it is not an RT-related hazard.
See
/proc/sys/kernel/sched_rt_period_us
/proc/sys/kernel/sched_rt_runtime_us
It is true that if you misconfigure these values, things can go wrong, but that's true of a lot of kernel parameters.
- deleted 4y ago[deleted]