Hard
A SCHED_FIFO thread in a loop that never blocks
A thread calls sched_setscheduler(pid, SCHED_FIFO, ¶m) with sched_priority = 50, then, because of a bug, enters a tight loop that never calls a blocking syscall, sleep(), or sched_yield(). Every other runnable thread on that same CPU is an ordinary SCHED_OTHER (CFS) thread, and no other realtime thread of equal or higher priority ever becomes runnable. What happens to those SCHED_OTHER threads on that CPU?
32 of 53 in Operating Systems