Exercises
How does Linux notify the scheduler to run periodically?
Describe the difference between interactive and non-interactive processes.
With respect to the scheduler, what’s special about real-time processes?
What happens when a process runs out of scheduler ticks?
What’s the advantage of an O(1) scheduler?
What kind of data structure does the scheduler use to manage the priority of the processes running on a system?
What happens if you were to call schedule() while holding a spinlock?
How does the kernel decide whether a kernel task can be implicitly preempted?
For more information on Linux, visit our Linux Reference Guide or sign up for our Linux Newsletter