Tagged articles
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
Refining Core Development Skills
Refining Core Development Skills
May 21, 2021 · Fundamentals

Linux Scheduler: Structures, Scheduling Classes, Runqueue, and Context Switch Process

This article explains Linux scheduling fundamentals, describing the task_struct fields, scheduling classes, runqueue organization, the scheduling workflow including flag setting and execution, and the details of the context_switch function that performs address‑space and register state switches.

LinuxOperating SystemScheduling Classes
0 likes · 11 min read
Linux Scheduler: Structures, Scheduling Classes, Runqueue, and Context Switch Process