Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

17.4 Runqueue Initialization

The code block situated between autogroup_init() and atomic_set(&rq->nr_iowait, 0) is responsible for initializing the primary runqueues, Completely Fair Scheduling (CFS) runqueues, real-time (RT) runqueues, and deadline (DL) runqueues for all CPU cores. It concurrently attaches each individual CPU's runqueue to the default root domain (def_root_domain) by mapping the rd field of each runqueue structure to the address of def_root_domain, performing the final preparatory steps before the CPUs commence task execution.

Copyright © 2026 Guangzhou eSmart Information Technology Co., Ltd. All Rights Reserved.
All content in this book is copyrighted by the author. For personal learning and exchange only. Commercial use without authorization is strictly prohibited. Email:

✉ 3348194517@qq.com | hai616878@gmail.com