Tagged articles

runqueue

4 articles · Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Sep 25, 2024 · Fundamentals

Process Management & Scheduling (Part 0): Essential Kernel Structures

This article introduces the core Linux kernel data structures involved in process management and scheduling—task_struct, sched_entity, rq, and sched_avg—explaining their key fields, relationships, and how they enable the kernel to track process state, timing, memory, and load‑balancing decisions.

Linuxkernel structuresprocess scheduling
0 likes · 15 min read
Process Management & Scheduling (Part 0): Essential Kernel Structures
Liangxu Linux
Liangxu Linux
Jun 16, 2021 · Fundamentals

Understanding Linux Scheduler: Structures, Policies, and Context Switch Mechanics

Learn how Linux selects the next process for CPU execution by exploring key scheduler structures such as task_struct, sched_class, runqueue, the various scheduling policies (CFS, RT, Deadline, etc.), the scheduling flow, and the low‑level context_switch mechanism that swaps address spaces and registers.

CFSLinuxcontext switch
0 likes · 8 min read
Understanding Linux Scheduler: Structures, Policies, and Context Switch Mechanics