Linux Kernel Journey
May 7, 2025 · Fundamentals
Which CPU Does a Woken Task Run On? Understanding wake_affine and select_idle_sibling
The article explains how the Linux kernel decides the CPU for a newly woken task, detailing the roles of wake_affine and select_idle_sibling, the influence of cache topology, run‑queue load, and various idle‑checking heuristics, with concrete examples and code snippets.
CPU affinityLinux kernelTask Scheduling
0 likes · 9 min read
