11
The CPU Scheduler – Part 2
In this, our second chapter on the Linux kernel CPU (or task) scheduler, we continue our coverage from the previous chapter. In the preceding chapter, we covered several key areas regarding the workings (and visualization) of the CPU scheduler on the Linux OS. This included topics on what exactly the Kernel Schedulable Entity (KSE) on Linux is (it’s the thread!), the POSIX scheduling policies that Linux implements, using perf
(and other tools) to see the thread/scheduler flow, and how the design of the modern scheduler is based upon modular scheduling classes. We also covered how to query any thread’s scheduling policy and priority (using a couple of command-line utilities), and finished by delving a lot deeper ...
Get Linux Kernel Programming - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.