Tagged articles
461 articles
Page 4 of 5
Su San Talks Tech
Su San Talks Tech
Oct 13, 2021 · Fundamentals

Why Can You Ping 127.0.0.1 Even When the Network Is Down?

This article explains the nature of the 127.0.0.1 loopback address, why pinging it works without a physical network connection, the differences between 127.0.0.1, localhost and 0.0.0.0, and how the kernel processes loopback traffic using a virtual network interface.

IP addressSocketkernel
0 likes · 13 min read
Why Can You Ping 127.0.0.1 Even When the Network Is Down?
Efficient Ops
Efficient Ops
Sep 27, 2021 · Fundamentals

How Linux Kernel Manages Memory: Allocation, OOM, and Recovery

This article explains Linux kernel memory management by covering process address space layout, allocation mechanisms, OOM killer behavior, overcommit settings, various types of file and anonymous mappings, tmpfs usage, and both manual and automatic memory reclamation techniques.

LinuxMemory ManagementOOM
0 likes · 20 min read
How Linux Kernel Manages Memory: Allocation, OOM, and Recovery
Liangxu Linux
Liangxu Linux
Sep 26, 2021 · Fundamentals

Inside Linux Kernel Boot on ARM: Decompression, MMU Setup & Page Tables

The article explains the Linux kernel boot process on ARM platforms, covering how the bootloader loads and decompresses the gzipped kernel image, the entry points of the compressed zImage, the early serial output, the initialization of the MMU and page tables, and the transition to the main C kernel code.

ARMLinuxMMU
0 likes · 9 min read
Inside Linux Kernel Boot on ARM: Decompression, MMU Setup & Page Tables
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 3, 2021 · Operations

Understanding Linux cgroups: Mechanism, Data Structures, and Core Logic

Linux cgroups are a kernel mechanism that groups processes into hierarchical directories, each subsystem (e.g., freezer, CPU, memory, IO) exposing control files such as cgroup.procs and freezer.state, with core data structures like cgroup_subsys, cgroup, css_set linking threads to multiple subsystems and enabling resource policies, freezing, throttling, and allocation.

LinuxResource ManagementSystem Administration
0 likes · 6 min read
Understanding Linux cgroups: Mechanism, Data Structures, and Core Logic
Refining Core Development Skills
Refining Core Development Skills
Jul 22, 2021 · Backend Development

Deep Dive into the TCP Three‑Way Handshake: Kernel Queues, Syncookies and Code Walkthrough

This article explains the complete kernel‑level implementation of the TCP three‑way handshake, covering server listen queue allocation, client connect state handling, SYN/SYN‑ACK processing, syncookie protection, timer management, socket creation, and the accept path, with detailed code examples.

BackendLinuxNetworking
0 likes · 16 min read
Deep Dive into the TCP Three‑Way Handshake: Kernel Queues, Syncookies and Code Walkthrough
21CTO
21CTO
Jun 19, 2021 · Fundamentals

Unlocking Linux: Inside the Kernel, Shell, Filesystem & Disk Management

This article explains the four core parts of a Linux system—kernel, shell, filesystem and applications—covering memory and process management, VFS architecture, file types, directory hierarchy, partitioning, mounting, links and essential command‑line tools.

FilesystemLinuxMemory Management
0 likes · 33 min read
Unlocking Linux: Inside the Kernel, Shell, Filesystem & Disk Management
Refining Core Development Skills
Refining Core Development Skills
Jun 17, 2021 · Fundamentals

How Linux Determines the Client Port for TCP Connections

On Linux, the client port used in a TCP connection is selected either by the kernel during the connect system call—randomly scanning the ip_local_port_range while respecting reserved ports—or by a prior bind call, with detailed kernel functions such as inet_hash_connect and __inet_hash_connect governing the process.

LinuxNetworkingPort Selection
0 likes · 21 min read
How Linux Determines the Client Port for TCP Connections
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 11, 2021 · Fundamentals

Analysis of Linux mmap File Read Process and Page Fault Handling

The article walks through Linux’s mmap file‑read workflow—from the kernel entry point and VMA creation, through page‑fault handling that allocates pages and invokes synchronous or asynchronous readahead, to munmap’s unmapping steps and the deferred file‑cache reclamation mechanisms.

File CacheLinuxMemory Management
0 likes · 10 min read
Analysis of Linux mmap File Read Process and Page Fault Handling
Liangxu Linux
Liangxu Linux
May 24, 2021 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Disk Partitions Explained

This article provides a comprehensive overview of Linux's core components—including the kernel, shell, virtual file system, various filesystem types, directory hierarchy, disk partition schemes, mounting procedures, and linking mechanisms—while illustrating key concepts with commands, code snippets, and diagrams for practical system administration.

Disk PartitionFilesystemLinux
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and Disk Partitions Explained
Liangxu Linux
Liangxu Linux
May 22, 2021 · Fundamentals

Unlocking Linux Memory Management: From CPU Access to CMA and Page Allocation

This comprehensive guide walks through Linux memory management, explaining CPU memory access, virtual‑to‑physical address translation, page‑table initialization, zone organization, the buddy allocator, slab allocator, vmalloc, page‑fault handling, and CMA, providing code examples and diagrams to form a complete understanding.

LinuxMemory ManagementSlab Allocator
0 likes · 34 min read
Unlocking Linux Memory Management: From CPU Access to CMA and Page Allocation
OPPO Kernel Craftsman
OPPO Kernel Craftsman
May 21, 2021 · Fundamentals

Unconventional Linux Filesystems: OverlayFS, IncFS, ZoneFS, LTFS, and StegFS

The article surveys several unconventional Linux filesystems—OverlayFS for layered read‑only overlays, IncFS enabling incremental app loading, ZoneFS exposing zoned block device zones, LTFS bringing true file‑system semantics to magnetic tape, and StegFS hiding data steganographically—highlighting their unique designs and use cases.

IncFSLTFSLinux filesystem
0 likes · 12 min read
Unconventional Linux Filesystems: OverlayFS, IncFS, ZoneFS, LTFS, and StegFS
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
MaGe Linux Operations
MaGe Linux Operations
May 17, 2021 · Information Security

How to Harden Linux: Essential Security Settings and Best Practices

This comprehensive guide walks you through selecting a secure Linux distribution, configuring kernel and sysctl parameters, applying boot‑time hardening, managing network and firewall rules, restricting root access, enabling MAC policies, sandboxing applications, and employing advanced memory and entropy techniques to dramatically improve system privacy and resilience against attacks.

$rootHardeningLinux
0 likes · 55 min read
How to Harden Linux: Essential Security Settings and Best Practices
ITPUB
ITPUB
May 13, 2021 · Fundamentals

Unveiling Linux’s Network Send Path: From send() to the Wire

This article provides a deep, step‑by‑step analysis of how Linux 3.10 processes a send() call—from user‑space socket handling through TCP, IP routing, queueing, driver DMA mapping, and both hard and soft interrupt handling—answering why CPU time appears in sy/si, why NET_RX softirqs dominate, and what memory copies occur during transmission.

DMALinuxNetwork Stack
0 likes · 32 min read
Unveiling Linux’s Network Send Path: From send() to the Wire
Open Source Linux
Open Source Linux
May 11, 2021 · Information Security

Ultimate Guide to Hardening Linux: Boost Security & Privacy

This comprehensive guide explains how to dramatically improve Linux security and privacy by selecting hardened distributions, configuring kernel and boot parameters, applying sysctl tweaks, disabling unnecessary services, using MAC frameworks, sandboxing applications, hardening memory allocation, and following best‑practice system administration steps.

$rootHardeningLinux
0 likes · 59 min read
Ultimate Guide to Hardening Linux: Boost Security & Privacy
Liangxu Linux
Liangxu Linux
May 1, 2021 · Fundamentals

Master Linux Kernel Coding Style: Tools, Rules, and Best Practices

This guide explains why adhering to the Linux kernel coding style matters, introduces automatic tools such as checkpatch.pl, Lindent, and astyle for fixing style violations, and details the core conventions for indentation, line length, brace placement, naming, comments, macros, and other critical aspects of kernel C code.

AstyleCheckpatchLindent
0 likes · 32 min read
Master Linux Kernel Coding Style: Tools, Rules, and Best Practices
Laravel Tech Community
Laravel Tech Community
Apr 28, 2021 · Fundamentals

Linux Kernel 5.12 Released with New Features and Improvements

After a week‑long delay, Linux Kernel 5.12 was officially released, introducing variable refresh‑rate support for Intel Xe GPUs, Radeon RX 6000 overclocking, Nintendo 64 mainline support, a PlayStation 5 DualSense driver, CXL 2.0 storage support, KFENCE, dynamic preemption, faster Clang linking, and numerous laptop‑related enhancements.

5.12Operating Systemfeatures
0 likes · 2 min read
Linux Kernel 5.12 Released with New Features and Improvements
21CTO
21CTO
Apr 26, 2021 · Fundamentals

Linux Kernel 5.12 Released: New Intel Xe GPU Variable Refresh, LTO, and KFENCE Support

After a week-long delay, Linus Torvalds announced the official release of Linux kernel 5.12, highlighting support for Intel Xe GPU variable refresh rates, C language link‑time optimization (LTO), kernel fencing (KFENCE), and overclock profiles for AMD Radeon RX 6000 series, while noting it’s a modest update ahead of the larger 5.13.

5.12Intel Xe GPUKFENCE
0 likes · 2 min read
Linux Kernel 5.12 Released: New Intel Xe GPU Variable Refresh, LTO, and KFENCE Support
Architect's Journey
Architect's Journey
Apr 15, 2021 · Operations

What Seven Days of Testing Reveal About TCP Memory Overhead

After a week-long series of experiments measuring TCP connections in various states—including ESTABLISH, client‑to‑server, server‑to‑client, and non‑ESTABLISH scenarios—the author quantifies per‑connection memory usage and shows how modern kernels reclaim buffers and reduce overhead, especially for TIME_WAIT.

LinuxTCPkernel
0 likes · 4 min read
What Seven Days of Testing Reveal About TCP Memory Overhead
Efficient Ops
Efficient Ops
Feb 21, 2021 · Fundamentals

Mastering Linux: Core Components, Kernel, Filesystems, and Shell Explained

This comprehensive guide explores Linux's four main components—kernel, shell, filesystem, and applications—detailing kernel architecture, memory and process management, VFS, device drivers, networking, file types, directory structures, mounting, and practical commands for managing partitions and links.

FilesystemLinuxOperating System
0 likes · 35 min read
Mastering Linux: Core Components, Kernel, Filesystems, and Shell Explained
Open Source Linux
Open Source Linux
Feb 19, 2021 · Fundamentals

Understanding Linux I/O: From Application Buffers to Disk Writes

This article explains the Linux I/O stack, detailing how data moves from user‑space buffers through libc and page cache to the disk, covering system calls, synchronization primitives, scheduler behavior, consistency, safety, and performance considerations.

I/OLinuxfile system
0 likes · 11 min read
Understanding Linux I/O: From Application Buffers to Disk Writes
Liangxu Linux
Liangxu Linux
Feb 15, 2021 · Fundamentals

How Linux Implements Per‑CPU Variables: From Definition to Runtime Access

This article explains the concept of per‑CPU variables in the Linux kernel, how they are defined with DEFINE_PER_CPU, linked into the .data..percpu section, initialized during boot, and accessed at runtime via the GS register and macro expansions such as this_cpu_read_stable.

AssemblyLinuxMacro Expansion
0 likes · 16 min read
How Linux Implements Per‑CPU Variables: From Definition to Runtime Access
ITPUB
ITPUB
Feb 4, 2021 · Fundamentals

Unveiling Linux System Call Mechanics: From syscall to sysret

This article provides a comprehensive, step‑by‑step walkthrough of how Linux handles system calls, covering the low‑level assembly entry point, register conventions, the sys_call_table registration process, struct pt_regs usage, and a practical write‑syscall example with a custom extension.

LinuxOperating SystemSyscall Implementation
0 likes · 12 min read
Unveiling Linux System Call Mechanics: From syscall to sysret
ITPUB
ITPUB
Feb 2, 2021 · Fundamentals

How Linux Receives Network Packets: From NIC Interrupts to recvfrom

This article provides a detailed, step‑by‑step walkthrough of the Linux kernel’s packet‑receiving path, covering NIC DMA, hardware and soft interrupts, ksoftirqd threads, NAPI polling, protocol‑stack registration, IP/UDP processing, and the final recvfrom system call that delivers data to user space.

InterruptsLinuxNetwork Stack
0 likes · 29 min read
How Linux Receives Network Packets: From NIC Interrupts to recvfrom
Liangxu Linux
Liangxu Linux
Jan 25, 2021 · Fundamentals

How Linux Kernel Invokes Module Init Functions via fs_initcall

The article explains how the Linux kernel discovers and calls module initialization functions like inet_init by using the fs_initcall macro, which creates static initcall variables placed in specially‑named sections that the linker groups and the kernel iterates at boot time.

InitcallLinkerLinux
0 likes · 8 min read
How Linux Kernel Invokes Module Init Functions via fs_initcall
Programmer DD
Programmer DD
Jan 23, 2021 · Mobile Development

How a 16‑Year‑Old Turned a Broken iPhone 7 into an Ubuntu Server

Teen developer Daniel Rodriguez repurposes a non‑functional iPhone 7 by jailbreaking it, building a custom Ubuntu 20.04 root filesystem, compiling a tailored kernel, and using projectsandcastle and PongoOS to boot Linux, effectively turning the device into a networked ARM64 server.

LinuxPongoOSRootFS
0 likes · 9 min read
How a 16‑Year‑Old Turned a Broken iPhone 7 into an Ubuntu Server
Liangxu Linux
Liangxu Linux
Jan 17, 2021 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Core Components Explained

This article provides a comprehensive overview of Linux's core components—including the kernel, memory and process management, virtual file system, device drivers, network stack, shell variants, file types, directory hierarchy, partitioning, mounting, and essential command‑line tools—while illustrating each concept with diagrams and code examples.

LinuxMountOperating System
0 likes · 34 min read
Understanding Linux: Kernel, Shell, Filesystem, and Core Components Explained
Qu Tech
Qu Tech
Dec 31, 2020 · Cloud Native

Kubernetes IPVS Estimation Timer: Root Cause of Network Jitter and Livepatch Fix

A production Kubernetes cluster experienced intermittent network jitter caused by the IPVS estimation_timer soft‑interrupt, and the article details how BPF tracing, perf analysis, and a kpatch live‑patch were used to identify and eliminate the latency without rebooting the nodes.

BPFIPVSKubernetes
0 likes · 22 min read
Kubernetes IPVS Estimation Timer: Root Cause of Network Jitter and Livepatch Fix
360 Tech Engineering
360 Tech Engineering
Dec 14, 2020 · Operations

Understanding Linux I/O Flush: fsync, fdatasync, sync, O_DIRECT, O_SYNC, REQ_PREFLUSH and REQ_FUA

This article explains the differences and purposes of Linux I/O flushing mechanisms—including fsync(), fdatasync(), sync(), the O_DIRECT and O_SYNC open flags, and the REQ_PREFLUSH and REQ_FUA bio request flags—illustrated with dd experiments, kernel flag tables, and practical commands for managing disk write caches.

I/OLinuxO_DIRECT
0 likes · 12 min read
Understanding Linux I/O Flush: fsync, fdatasync, sync, O_DIRECT, O_SYNC, REQ_PREFLUSH and REQ_FUA
ITPUB
ITPUB
Dec 3, 2020 · Fundamentals

What Really Happens Inside Linux When recvfrom Receives a Packet?

This article walks through the complete Linux kernel path a network packet follows—from the NIC’s DMA and hardware interrupt, through soft‑interrupt handling, NAPI polling, protocol‑stack registration, IP and UDP processing, all the way to the user‑space recvfrom system call—revealing the many hidden steps that make packet reception possible.

InterruptsLinuxNetwork Stack
0 likes · 28 min read
What Really Happens Inside Linux When recvfrom Receives a Packet?
Liangxu Linux
Liangxu Linux
Nov 29, 2020 · Fundamentals

Why Does Linux Need Swapping? Understanding Memory Pressure and Idle Page Management

Linux uses swapping to move rarely used memory pages to disk, alleviating memory pressure and reclaiming idle memory, but the performance impact of disk I/O can cause latency; this article explains the mechanisms, triggers, and kernel functions behind swapping, including direct reclaim, kswapd, and LRU lists.

LinuxOperating SystemSwapping
0 likes · 11 min read
Why Does Linux Need Swapping? Understanding Memory Pressure and Idle Page Management
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 20, 2020 · Mobile Development

How to Use ftrace Event Tracing to Debug Android Process Scheduling

This article explains the fundamentals of Linux ftrace, details the event‑tracing mechanism and tracepoint macros, shows how to enable and filter events on ARM64 Android devices, and demonstrates a practical workflow for capturing low‑probability scheduling bugs in camera‑related processes.

Androiddebuggingevent tracing
0 likes · 11 min read
How to Use ftrace Event Tracing to Debug Android Process Scheduling
Liangxu Linux
Liangxu Linux
Oct 19, 2020 · Information Security

Exploiting Linux’s DelayedACKLost Counter to Infer TCP Sequence Numbers

An imaginative tale reveals how two covert agents exploit the Linux kernel’s DelayedACKLost counter via /proc/net/netstat, using it to infer TCP sequence numbers and perform a side‑channel hijack, while illustrating the underlying delayed ACK mechanism, related kernel functions, and the security implications of this hidden metric.

Delayed ACKLinuxTCP
0 likes · 8 min read
Exploiting Linux’s DelayedACKLost Counter to Infer TCP Sequence Numbers
Refining Core Development Skills
Refining Core Development Skills
Oct 19, 2020 · Operations

Linux Network Packet Monitoring and Tuning: Tools, RingBuffer, Interrupts, and SoftIRQ Optimization

This article explains how to monitor and tune Linux network packet reception using tools such as ethtool, ifconfig, and procfs, covering RingBuffer inspection, hardware and soft interrupt analysis, multi‑queue configuration, interrupt coalescing, and GRO settings to improve throughput and reduce packet loss.

LinuxTuningethtool
0 likes · 17 min read
Linux Network Packet Monitoring and Tuning: Tools, RingBuffer, Interrupts, and SoftIRQ Optimization
ITPUB
ITPUB
Oct 12, 2020 · Fundamentals

Understanding Linux Process Memory Layout: From task_struct to vm_area_struct

This article explains Linux process memory organization, detailing how task_struct and mm_struct describe virtual memory, the role of vm_area_struct for each segment, page table interactions, and the lazy allocation mechanism that maps physical memory only on page faults.

LinuxMemory ManagementOperating System
0 likes · 7 min read
Understanding Linux Process Memory Layout: From task_struct to vm_area_struct
IT Architects Alliance
IT Architects Alliance
Oct 5, 2020 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem and Core Components Explained

This comprehensive guide breaks down the four main parts of a Linux system—kernel, shell, filesystem and applications—detailing kernel subsystems such as memory and process management, shell variants, file types, directory hierarchy, partition handling, VFS, mounting procedures, link types and essential command‑line tools, while also touching on application bundles and kernel parameter tuning.

FilesystemLinuxMemory Management
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem and Core Components Explained
Refining Core Development Skills
Refining Core Development Skills
Sep 24, 2020 · Fundamentals

Deep Dive into Linux Network Packet Reception Process

This article provides a comprehensive, illustrated explanation of how Linux receives network packets—from hardware DMA and interrupt handling through soft‑interrupt processing, NAPI polling, protocol stack registration, and finally delivery to user‑space via recvfrom—detailing each kernel component and relevant source code.

LinuxNAPIPacket Reception
0 likes · 48 min read
Deep Dive into Linux Network Packet Reception Process
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2020 · Fundamentals

Unlocking Linux: Inside the Kernel, Shell, Filesystem, and Core Components

This comprehensive guide explores Linux’s four core components—kernel, shell, filesystem, and applications—detailing kernel architecture, memory and process management, VFS, device drivers, network interfaces, shell types, file types, directory structures, mounting, and essential command-line tools for system administration.

LinuxOperating Systemkernel
0 likes · 35 min read
Unlocking Linux: Inside the Kernel, Shell, Filesystem, and Core Components
Liangxu Linux
Liangxu Linux
Aug 29, 2020 · Information Security

How to Hide a Linux Process with a One‑Line SystemTap Script

This guide shows a quick user‑space technique to conceal a Linux process by overwriting its PID with an unused value using a short SystemTap script, includes the exact code, execution steps, detection method, and a brief explanation of why it works.

LinuxSystemTapkernel
0 likes · 4 min read
How to Hide a Linux Process with a One‑Line SystemTap Script
ITPUB
ITPUB
Aug 24, 2020 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and System Architecture Explained

This comprehensive guide walks through Linux's core components—including the kernel, shell, and file system—explaining memory and process management, VFS architecture, partition types, mounting procedures, common commands, and optimization tips, all illustrated with diagrams and practical examples.

LinuxMountingOperating System
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and System Architecture Explained
IT Architects Alliance
IT Architects Alliance
Aug 20, 2020 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Core Components

This article provides a comprehensive overview of Linux’s core architecture, detailing the kernel, shell, memory and process management, virtual file system, various file system types, directory structures, partitioning, mounting procedures, and link mechanisms, offering readers a solid foundation for mastering Linux systems.

FilesystemOperating SystemShell
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and Core Components
MaGe Linux Operations
MaGe Linux Operations
Aug 20, 2020 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystems, and System Architecture Explained

This comprehensive guide explores Linux's core components—including the kernel, shell, memory and process management, file systems, device drivers, network interfaces, mounting mechanisms, and link types—providing clear explanations, diagrams, and command examples for anyone learning operating system fundamentals.

FilesystemOperating SystemShell
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystems, and System Architecture Explained
Liangxu Linux
Liangxu Linux
Aug 10, 2020 · Fundamentals

Building a Minimal Linux Filesystem from Scratch: TinyFS Walkthrough

This article walks through the design and implementation of a tiny Linux filesystem called TinyFS, explaining the VFS layers, required POSIX interfaces, data structures, core kernel code, usage steps, current limitations, and a roadmap for extending it with proper superblocks, concurrency, and page‑cache integration.

FilesystemLinuxTinyFS
0 likes · 20 min read
Building a Minimal Linux Filesystem from Scratch: TinyFS Walkthrough
Liangxu Linux
Liangxu Linux
Aug 3, 2020 · Fundamentals

Understanding Linux Memory Management: Segments, Paging, and Allocation

This article explains how Linux organizes a process's address space into text, data, and stack segments, describes virtual memory concepts such as paging, page tables, and page faults, and details the kernel's allocation, deallocation, and memory‑mapping mechanisms including brk, mmap, and the buddy allocator.

LinuxPagingkernel
0 likes · 22 min read
Understanding Linux Memory Management: Segments, Paging, and Allocation
Open Source Linux
Open Source Linux
Jul 3, 2020 · Fundamentals

Unlock Linux Memory: From Basics to Advanced Allocation Strategies

This comprehensive guide explores Linux memory fundamentals, address space layout, fragmentation, buddy and slab allocation algorithms, kernel and user‑space memory pools, DMA handling, common pitfalls in C/C++ memory management, and practical commands for monitoring and debugging memory usage on Linux systems.

Allocation AlgorithmsLinuxMemory Management
0 likes · 23 min read
Unlock Linux Memory: From Basics to Advanced Allocation Strategies
ITPUB
ITPUB
Jun 18, 2020 · Fundamentals

Mastering Linux Memory Management: From Address Space to Allocation Algorithms

This article provides a comprehensive guide to Linux memory management, covering the memory organization, address spaces, fragmentation causes and mitigation, the buddy and slab allocation algorithms, kernel and user‑space memory pools, common pitfalls, and practical tools for monitoring and debugging memory usage.

LinuxMemory ManagementSlab Allocator
0 likes · 20 min read
Mastering Linux Memory Management: From Address Space to Allocation Algorithms
Liangxu Linux
Liangxu Linux
Jun 14, 2020 · Fundamentals

Unlocking Linux Memory: From Basics to Advanced Allocation Strategies

This comprehensive guide explores Linux memory architecture, address spaces, paging, fragmentation, buddy and slab allocation algorithms, kernel and user‑space memory pools, DMA handling, practical usage scenarios, and common pitfalls, providing developers with actionable insights to optimize system performance.

Allocation AlgorithmsLinuxPaging
0 likes · 21 min read
Unlocking Linux Memory: From Basics to Advanced Allocation Strategies
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 5, 2020 · Fundamentals

Understanding dm Devices in Android: Linux Storage Stack Explained

The article explains how Android’s mount command shows numerous dm devices, detailing the Linux storage stack layers, using the OPPO Reno3 as a case study to illustrate the creation and purpose of dm devices, and poses why dm‑0 disappears from Android versions after Q.

Android storageLinux storagedm devices
0 likes · 5 min read
Understanding dm Devices in Android: Linux Storage Stack Explained
Sohu Tech Products
Sohu Tech Products
Jun 3, 2020 · Fundamentals

Understanding Linux System Call Mechanisms: Software Interrupts, Fast Syscall Instructions, and vDSO

Linux system calls provide the interface between user programs and the kernel, and this article explains the three implementation methods—software interrupts, fast syscall instructions (SYSENTER/SYSCALL), and the virtual dynamic shared object (vDSO)—detailing their operation, performance impact, and relevant assembly code examples.

System CallkernelvDSO
0 likes · 16 min read
Understanding Linux System Call Mechanisms: Software Interrupts, Fast Syscall Instructions, and vDSO
Open Source Linux
Open Source Linux
May 21, 2020 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystems and Core System Components

This article provides a comprehensive overview of Linux, covering its four main components—kernel, shell, file system, and applications—detailing kernel responsibilities such as memory and process management, the role of the virtual file system, device drivers, networking, shell types, file types, directory structures, disk partitioning, mounting mechanisms, hard and symbolic links, and essential command‑line tools for system administration.

LinuxMountingkernel
0 likes · 34 min read
Understanding Linux: Kernel, Shell, Filesystems and Core System Components
Open Source Linux
Open Source Linux
May 19, 2020 · Fundamentals

Essential Operating System Concepts Every Developer Should Know

This comprehensive guide explains over 190 fundamental operating system and computer architecture concepts—including OS kernels, memory management, process control, virtualization, storage, networking, and security—providing clear definitions, examples, and visual illustrations to help readers grasp the core building blocks of modern computing systems.

Memory Managementcomputer architecturekernel
0 likes · 45 min read
Essential Operating System Concepts Every Developer Should Know
Open Source Linux
Open Source Linux
Apr 12, 2020 · Fundamentals

Unlocking Linux: How the VFS and Filesystem Layers Work Together

This article explains Linux’s layered filesystem architecture, detailing how generic API calls like read interact with the VFS, superblock, inode, dentry, and buffer cache, and demonstrates mounting a filesystem using loop devices, dd, losetup, mke2fs, and mount commands.

LinuxMountkernel
0 likes · 13 min read
Unlocking Linux: How the VFS and Filesystem Layers Work Together
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 10, 2020 · Operations

Why BFQ Is Replacing CFQ: Inside Linux’s New I/O Scheduler

The article explains the design and operation of Linux’s BFQ (Budget Fair Queueing) I/O scheduler, its algorithmic advantages over CFQ, performance test results, and the reasons it outperforms other schedulers, concluding with its growing adoption in major projects.

BFQI/O schedulerLinux
0 likes · 10 min read
Why BFQ Is Replacing CFQ: Inside Linux’s New I/O Scheduler
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 2, 2020 · Fundamentals

Fundamental Concepts of Operating Systems and Computer Architecture

This article provides a comprehensive overview of operating system fundamentals and computer architecture, covering topics such as OS components, kernel and user modes, memory management, process handling, hardware interfaces, storage hierarchies, virtualization, and related historical and modern systems in roughly eighty concise entries.

Memory Managementcomputer architectureinterrupt()
0 likes · 25 min read
Fundamental Concepts of Operating Systems and Computer Architecture
ITPUB
ITPUB
Dec 25, 2019 · Fundamentals

How a 4‑Year‑Old’s Tiny Dash Fixed a Linux Kernel Formatting Glitch

A four‑year‑old girl submitted a one‑character patch to the Linux kernel that added a dash for proper alignment, illustrating the openness of the kernel project, the meticulous nature of its codebase, and the surprising impact of even the smallest contributions.

LinuxOpenSourcecommit
0 likes · 3 min read
How a 4‑Year‑Old’s Tiny Dash Fixed a Linux Kernel Formatting Glitch
360 Tech Engineering
360 Tech Engineering
Dec 20, 2019 · Fundamentals

Deep Dive into Linux epoll: Data Structures, Core Functions, and Implementation Details

This article provides a comprehensive analysis of Linux's epoll mechanism, covering its fundamental data structures, key kernel functions, wait‑queue handling, event insertion, wake‑up logic, and the differences between edge‑triggered and level‑triggered modes, while including full source code excerpts for reference.

Event-drivenI/O MultiplexingLinux
0 likes · 21 min read
Deep Dive into Linux epoll: Data Structures, Core Functions, and Implementation Details
ITPUB
ITPUB
Dec 15, 2019 · Fundamentals

Understanding Linux: Kernel, Memory, Processes, Filesystems and More

An extensive guide walks through Linux’s core components—kernel, memory and process management, VFS, device drivers, networking, shells, filesystem hierarchy, partitioning, mounting, and link types—detailing their structures, key commands, and practical examples for system administrators and developers.

FilesystemLinuxMemory Management
0 likes · 35 min read
Understanding Linux: Kernel, Memory, Processes, Filesystems and More
Liangxu Linux
Liangxu Linux
Dec 12, 2019 · Fundamentals

Unlock Linux: A Deep Dive into Kernel, Memory, Processes, and Filesystems

This comprehensive guide explains the core components of a Linux system—including the kernel, memory management, process scheduling, device drivers, networking, shells, file‑system types, VFS architecture, mounting procedures, and link handling—providing clear examples, commands, and diagrams for each topic.

LinksMemory ManagementMount
0 likes · 35 min read
Unlock Linux: A Deep Dive into Kernel, Memory, Processes, and Filesystems
Sohu Tech Products
Sohu Tech Products
Nov 20, 2019 · Fundamentals

Deep Dive into Linux Timekeeping Architecture: System Time, Timers, and Hardware Oscillators

This article provides an in‑depth exploration of Linux’s timekeeping subsystem, covering how the kernel initializes and maintains system time, reads timestamps via vDSO and sequential locks, manages timers with various algorithms, and explains the underlying quartz crystal oscillator that generates the hardware clock.

HardwareLinuxOperating Systems
0 likes · 22 min read
Deep Dive into Linux Timekeeping Architecture: System Time, Timers, and Hardware Oscillators