A missed IRQ is not considered fatal but where as missing the upper time limit for an RT process will be considered fatal. Hence I think, as a simple solution, the process should not be preempted. Is it the case? On Thu, Apr 9, 2015 at 11:15 AM, <Valdis.Kletnieks@vt.edu> wrote:
On Thu, 09 Apr 2015 10:59:20 +0900, manty kuma said:
In Linux, when a real time process is executing and an interrupt comes, will the RT process be preempted?
Is RT process considered superior to interrupts?
Think it through - that would imply that RT processes effectively run with interrupts disabled (or ignored, which amounts to the same thing). What would be the result of that? How would the system behave? Consider in particular that RT processes want a hard maximum on latency (and usually as low latency as you can get). Remember to consider the case of more than one RT process on a system....
For bonus points, work it out for both hard and soft IRQs.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies