Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are all system calls non-realtime-safe?

I've heard that executing system calls in Linux (RT_PREEMPT kernel) is never realtime-safe.

This seems overly-restrictive -- how could your process do anything (unless it has to be done entirely through DMA) without system calls?

Is this true, or are some system calls (like clock_gettime) realtime-safe?

like image 829
crosstalk Avatar asked Nov 13 '22 02:11

crosstalk


1 Answers

If by "realtime safe" you mean guaranteed to execute within a bounded time, then linux, like most general-purpose operating systems, is not realtime safe.

Various real-time operating systems (RTOS) provided this kind of guarantee.

like image 164
Mark Harrison Avatar answered Dec 08 '22 00:12

Mark Harrison