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

1.2 Linux Architecture

The Linux kernel implements a monolithic architecture, yet it maintains high structural flexibility through its loadable kernel module mechanism. Linux consists of multiple relatively independent subsystems, with its core subsystems including:

  • Process Scheduling Subsystem: Linux utilizes the Completely Fair Scheduler (CFS). Its core paradigm is to measure task fairness through virtual runtime (vruntime). The scheduler maintains the runnable task queue using a red-black tree, keeping the time complexity at $O(log n)$. In multi-core systems, Linux introduces scheduling domains (Scheduling Domains) and load balancing mechanisms to optimize CPU utilization.

  • Memory Management Subsystem: Linux supports paging mechanisms and virtual memory management. Key features include demand paging, page cache, the Slab/Slub allocators, and Non-Uniform Memory Access (NUMA) architecture support. Memory management not only impacts overall performance but is also directly tied to system stability.

  • File Subsystem: Linux supports a diverse range of file systems, such as ext4, XFS, and Btrfs. Its Virtual File System (VFS) layer implements a unified interface, rendering differences in underlying storage mediums completely transparent to application-layer software.

  • Network Subsystem: The Linux network stack is highly acclaimed for its performance, supporting numerous protocols and advanced features such as TCP/IP optimizations, zero-copy, and the eBPF extension mechanism. This architecture makes Linux the premier platform for high-concurrency server deployments.

  • Device Driver Module: Linux provides a unified device driver model and hotplugging mechanisms, supporting a vast array of hardware platforms. Its modular design allows drivers to be loaded dynamically on demand. Driver developers can provide full hardware support for Linux simply by authoring their code in accordance with the standard Linux device driver model.

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