Tagged articles
12 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Feb 26, 2025 · Fundamentals

How Can a Function Jump to an Uncalled Routine? Exploring Stack Tricks and Process Switching

The article explains how operating‑system multitasking and process switching share the same underlying mechanism as function calls, demonstrates a C program that overwrites a return address to jump to an unexpected function, and shows the resulting assembly to illustrate the similarity between buffer‑overflow attacks and legitimate context switches.

AssemblyC programmingbuffer overflow
0 likes · 7 min read
How Can a Function Jump to an Uncalled Routine? Exploring Stack Tricks and Process Switching
Linux Kernel Journey
Linux Kernel Journey
Dec 25, 2024 · Fundamentals

Stop Being a Linux Kernel Code Parrot: Think Like a Scheduler Designer

The author, with over two decades of development experience, argues that learning the Linux kernel requires understanding real-world scheduling problems rather than merely copying kernel code, and outlines key questions about task_struct management, priority, preemption, CPU placement, fairness, and universal scheduler design.

CPU schedulingLinux kernelScheduler
0 likes · 4 min read
Stop Being a Linux Kernel Code Parrot: Think Like a Scheduler Designer
IT Services Circle
IT Services Circle
Oct 15, 2024 · Fundamentals

Designing a Simple File System with Blocks, Bitmaps, Inodes, and Directories

This article walks through the step‑by‑step design of a simple file system on a 1 TB disk, introducing logical blocks, block bitmaps, inode structures, directory handling, indirect indexing, superblocks, and hierarchical file organization, while comparing the design to the classic ext2 filesystem.

BitmapExt2block allocation
0 likes · 10 min read
Designing a Simple File System with Blocks, Bitmaps, Inodes, and Directories
MaGe Linux Operations
MaGe Linux Operations
Sep 20, 2023 · Fundamentals

Is Linux a Real‑Time OS? Comparing RTOS and Time‑Sharing Systems

This article explains the definitions, features, and core concepts of real‑time operating systems (RTOS) and time‑sharing operating systems (TSOS), compares their characteristics and typical use cases, and concludes that standard Linux is a time‑sharing OS that can be patched for real‑time operation.

RTOSTime-sharingembedded systems
0 likes · 9 min read
Is Linux a Real‑Time OS? Comparing RTOS and Time‑Sharing Systems
Tencent Architect
Tencent Architect
Jul 20, 2023 · Fundamentals

Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel

This comprehensive guide walks beginners through the Linux kernel’s architecture, source acquisition, configuration, compilation, installation, key subsystems, essential programming knowledge, and how to join the kernel community, providing practical code examples and curated learning resources.

Linux kernelSystem Programmingkernel-development
0 likes · 11 min read
Explore, Build, and Contribute: A Beginner’s Guide to the Linux Kernel
Bin's Tech Cabin
Bin's Tech Cabin
Jul 20, 2023 · Fundamentals

How Linux Maps Virtual Memory to Physical Memory: Inside Page Tables

This article walks through the Linux kernel's memory‑management subsystem, explaining how virtual memory is linked to physical memory via page tables, covering single‑level, two‑level and multi‑level paging, the structure of page‑table entries, the role of the MMU and TLB, and the complete CPU address‑translation process.

Memory ManagementVirtual Memorylinux
0 likes · 67 min read
How Linux Maps Virtual Memory to Physical Memory: Inside Page Tables
Liangxu Linux
Liangxu Linux
Mar 13, 2023 · Fundamentals

Key Differences Between Linux and Windows File Systems Explained

This guide outlines the main differences between Linux and Windows file systems, covering directory structures, case sensitivity, path separators, the absence of drive letters, the concept that everything is a file, and how Linux handles open files, helping new users transition between the two operating systems.

Case SensitivityDirectory StructureWindows
0 likes · 7 min read
Key Differences Between Linux and Windows File Systems Explained
MaGe Linux Operations
MaGe Linux Operations
Aug 11, 2018 · Fundamentals

Mastering Linux Kernel Learning: Proven Strategies and Essential Resources

This article shares a personal yet systematic approach to learning the Linux kernel, emphasizing the importance of building a high‑level framework before diving into code, recommending key textbooks, discussing language considerations, API insights, and encouraging hands‑on experimentation to deepen understanding.

BooksLinux kernellearning strategies
0 likes · 18 min read
Mastering Linux Kernel Learning: Proven Strategies and Essential Resources
MaGe Linux Operations
MaGe Linux Operations
Sep 14, 2017 · Fundamentals

Unlock Linux Filesystem Secrets: A Complete Guide to Core Directories

This article compiles essential information about Linux’s core directories—/etc, /usr, /var, /proc, and /dev—detailing their purposes, typical contents, and how they fit into the overall filesystem hierarchy, complemented by illustrative diagrams for developers and administrators.

Directory StructureFilesystemSystem Administration
0 likes · 3 min read
Unlock Linux Filesystem Secrets: A Complete Guide to Core Directories
MaGe Linux Operations
MaGe Linux Operations
Oct 6, 2016 · Fundamentals

Understanding Linux’s Three‑Tier Physical Memory and Virtual Page Table Architecture

This article explains Linux’s hardware‑independent three‑tier physical memory model (node, zone, page) and the three‑level virtual memory page‑table hierarchy (PGD, PMD, PTE), including key macros, structure definitions, and the macros used to walk the tables from a virtual address to a physical page.

Memory ManagementVirtual Memorylinux
0 likes · 6 min read
Understanding Linux’s Three‑Tier Physical Memory and Virtual Page Table Architecture