Tagged articles

Kernel

493 articles · Page 4 of 5
IT Services Circle
IT Services Circle
Mar 14, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

This article explains in detail how Linux handles local network I/O for 127.0.0.1, comparing it with cross‑machine communication, describing the routing, device subsystem, driver code, and soft‑interrupt processing, and concluding with performance considerations and a discussion on eBPF acceleration.

KernelLinuxTCP/IP
0 likes · 16 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
IT Services Circle
IT Services Circle
Mar 12, 2022 · Fundamentals

Understanding the Misleading ENOMEM Error in Linux Process Creation

This article analyzes why Linux reports "fork: cannot allocate memory" when the real issue is an excessive number of threads or PID allocation failures, explains the kernel's do_fork and alloc_pid implementations, and offers guidance for diagnosing and fixing such misleading ENOMEM errors.

ENOMEMKernelLinux
0 likes · 11 min read
Understanding the Misleading ENOMEM Error in Linux Process Creation
Efficient Ops
Efficient Ops
Mar 9, 2022 · Fundamentals

Understanding Linux: Kernel, Memory, Processes, and File Systems Explained

This comprehensive guide explores the core components of a Linux system—including the kernel, memory management, process scheduling, file system architecture, device drivers, networking, and shell—while also covering disk partitions, mounting, and practical command examples for system administration.

File SystemKernelmemory management
0 likes · 36 min read
Understanding Linux: Kernel, Memory, Processes, and File Systems Explained
ITPUB
ITPUB
Mar 9, 2022 · Fundamentals

Why Does Linux Report “Out of Memory” When PID Allocation Fails?

The article explains why Linux’s fork() can return a misleading “fork: cannot allocate memory” error, tracing the issue to PID allocation failures in the kernel’s do_fork and alloc_pid functions, and shows how excessive threads, not actual memory shortage, trigger the problem.

ENOMEMKernelLinux
0 likes · 12 min read
Why Does Linux Report “Out of Memory” When PID Allocation Fails?
MaGe Linux Operations
MaGe Linux Operations
Mar 6, 2022 · Information Security

How Linux’s Random Number Generator Got a 8450% Speed Boost in 5.18

Under Jason Donenfeld’s leadership, Linux kernel’s random number generator was overhauled in versions 5.17 and 5.18, replacing SHA1 with BLAKE2s and shifting from per‑NUMA to per‑CPU structures, delivering up to a 131% speed increase and an astonishing 8450% boost in getrandom() performance on multi‑core systems.

BLAKE2sKernelLinux
0 likes · 3 min read
How Linux’s Random Number Generator Got a 8450% Speed Boost in 5.18
IT Services Circle
IT Services Circle
Mar 6, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

This article explains how Linux handles local network I/O for 127.0.0.1, detailing the differences from cross‑machine communication, the routing decisions, the loopback device driver, soft‑interrupt processing, and the complete kernel execution flow for both sending and receiving packets.

KernelLinuxNetwork IO
0 likes · 15 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 4, 2022 · Operations

Understanding Linux mlock and munlock: Memory Locking and Reclamation Mechanisms on arm64

On arm64 Linux kernels (e.g., 5.10.27), the mlock system call marks VMAs with VM_LOCKED, forces page faults, sets the PG_mlocked flag and moves pages into the unevictable LRU so they cannot be reclaimed, while munlock clears these flags and returns pages to regular LRU lists, guaranteeing resident memory for latency‑sensitive applications.

KernelLRULinux
0 likes · 7 min read
Understanding Linux mlock and munlock: Memory Locking and Reclamation Mechanisms on arm64
Architects' Tech Alliance
Architects' Tech Alliance
Feb 28, 2022 · Fundamentals

Comprehensive Guide to Linux Memory Management and Allocation Algorithms

This article provides an in‑depth overview of Linux memory architecture, including address spaces, segmentation and paging, memory allocation strategies such as the buddy and slab allocators, kernel and user‑space memory pools, DMA considerations, common pitfalls, and practical tools for monitoring and optimizing memory usage.

DMAKernelLinux
0 likes · 19 min read
Comprehensive Guide to Linux Memory Management and Allocation Algorithms
MaGe Linux Operations
MaGe Linux Operations
Feb 12, 2022 · Fundamentals

What Were the Biggest Linux Milestones of 2021?

The 2021 Linux roundup covers Richard Stallman's surprising return, Arch Linux's new installer script, Microsoft Edge arriving on Linux, the rise of CentOS alternatives, the Steam Deck's Linux‑based OS, Epic's Easy‑Anti‑Cheat Linux support, GNOME 40's redesign, kernel 5.15 native NTFS support, Linux turning 30, Linus Tech Tips' 30‑day Linux challenge, Asahi Linux's progress on Apple M1, and the impact of Windows 11 on Linux adoption.

KernelOperating Systemsdistribution
0 likes · 9 min read
What Were the Biggest Linux Milestones of 2021?
Liangxu Linux
Liangxu Linux
Feb 9, 2022 · Fundamentals

What Do Upstream and Downstream Really Mean in Linux?

The article explains the vague but important upstream/downstream terminology in Linux, illustrating its meaning with ISP traffic, kernel development, distribution packaging, application maintenance, and package‑manager automation, and shows why understanding data flow direction matters for developers and maintainers.

Kerneldownstreampackage-management
0 likes · 8 min read
What Do Upstream and Downstream Really Mean in Linux?
ITPUB
ITPUB
Jan 27, 2022 · Fundamentals

Why Does Linux Need Complex Memory Management? Inside Virtual Memory, malloc, and OOM

This article explains the reasons behind Linux's sophisticated memory management, covering virtual memory mechanisms, page tables, MMU/TLB interactions, page fault handling, the layout of a process's address space, glibc's malloc internals, memory reclamation techniques, and the OOM killer's decision process.

KernelLinuxOOM
0 likes · 33 min read
Why Does Linux Need Complex Memory Management? Inside Virtual Memory, malloc, and OOM
ITPUB
ITPUB
Jan 14, 2022 · Fundamentals

Master Linux Routing: From Packets to Containers and Overlay Networks

This article explains why Linux routing is essential for container networking, details how routing works during packet transmission and reception, explores routing tables and lookup mechanisms in the kernel, and provides practical commands for enabling forwarding, inspecting, modifying, and testing routing rules.

KernelLinuxOverlay
0 likes · 16 min read
Master Linux Routing: From Packets to Containers and Overlay Networks
ITPUB
ITPUB
Dec 29, 2021 · Fundamentals

2021 Linux Milestones: From Stallman's Return to Edge and Steam Deck

A concise roundup of the most impactful Linux events of 2021, covering Richard Stallman's comeback, Arch Linux's new installer script, Microsoft Edge's stable Linux release, CentOS alternatives, Steam Deck's Linux base, anti‑cheat support, GNOME 40, native NTFS driver, Linux's 30th anniversary, Linus Tech Tips' desktop experiment, Apple M1 Linux progress, and the implications of Windows 11.

KernelLinuxNews
0 likes · 9 min read
2021 Linux Milestones: From Stallman's Return to Edge and Steam Deck
21CTO
21CTO
Dec 27, 2021 · Operations

Rediscovered 1994 Linus Torvalds Talk & Linux 5.16 Powers AMD Laptops Up to 14%

The article reveals the recovered 1994 Linus Torvalds presentation, highlights Linux 5.16's performance gains for AMD mobile CPUs, discusses upcoming Linux security initiatives such as SBOM and Rust adoption, and warns of compatibility challenges as Chrome approaches version 100.

AMDChromeKernel
0 likes · 8 min read
Rediscovered 1994 Linus Torvalds Talk & Linux 5.16 Powers AMD Laptops Up to 14%
Open Source Linux
Open Source Linux
Dec 27, 2021 · Fundamentals

2021’s Top 12 Linux Milestones That Shaped the Open‑Source World

As 2021 draws to a close, this roundup highlights twelve pivotal Linux developments—from Richard Stallman's controversial return and Arch Linux’s new installer to Microsoft Edge on Linux, the rise of CentOS alternatives, Steam Deck’s Arch‑based OS, native NTFS support, and the celebration of Linux’s 30th anniversary—each reshaping the ecosystem for users and developers alike.

DesktopDistributionsKernel
0 likes · 9 min read
2021’s Top 12 Linux Milestones That Shaped the Open‑Source World
ITPUB
ITPUB
Dec 21, 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, shell, virtual file system, memory and process management, device drivers, networking, and disk partitioning—explaining their roles, structures, and how they interact within the operating system.

KernelLinuxMount
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and Core Components Explained
Efficient Ops
Efficient Ops
Dec 15, 2021 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Process Management

This article provides a comprehensive overview of Linux system architecture, covering the kernel, memory and process management, virtual and physical filesystems, device drivers, networking, shell types, file types, directory structures, partitioning, mounting, and link mechanisms, all illustrated with diagrams and command examples.

KernelLinksLinux
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and Process Management
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 15, 2021 · Operations

Why Does Linux Load Spike? Deep Dive into Load Average Calculation & Troubleshooting

During high‑traffic events like Double‑11, Linux systems often see load averages surge, affecting response times and command execution; this article explains what load averages represent, how the kernel computes them using exponential weighted moving averages, and outlines common causes and systematic methods for root‑cause analysis.

KernelLoad AveragePerformance
0 likes · 12 min read
Why Does Linux Load Spike? Deep Dive into Load Average Calculation & Troubleshooting
Open Source Linux
Open Source Linux
Nov 28, 2021 · Operations

Boost Linux Server Performance: 20 Proven Optimization Techniques

This guide presents twenty practical Linux server optimization methods—from kernel elevator tuning and daemon reduction to TCP tweaks, secure backups, and effective monitoring commands—helping administrators enhance reliability, speed, and security while reducing resource consumption.

KernelLinuxperformance tuning
0 likes · 14 min read
Boost Linux Server Performance: 20 Proven Optimization Techniques
ITPUB
ITPUB
Nov 23, 2021 · Fundamentals

How IBM’s CPU Namespace Prototype Redefines Linux Resource Isolation

IBM’s early‑stage CPU Namespace prototype introduces a new Linux kernel namespace that virtualizes logical CPU IDs, enabling containers to see isolated CPU resources, improving consistency, security, and fairness, with test results showing up to 95% memory usage reduction and 64% latency drop without affecting throughput.

CPU NamespaceIBMKernel
0 likes · 6 min read
How IBM’s CPU Namespace Prototype Redefines Linux Resource Isolation
政采云技术
政采云技术
Nov 23, 2021 · Fundamentals

File System Concepts and Linux Virtual File System (VFS) Overview

This article explains the purpose and functions of file systems, describes logical and physical file structures, introduces Linux's virtual file system architecture and its core data structures such as superblocks, inodes, dentries and file objects, and details the path‑lookup process used by the kernel when opening files.

File SystemKernelLinux
0 likes · 33 min read
File System Concepts and Linux Virtual File System (VFS) Overview
Liangxu Linux
Liangxu Linux
Nov 18, 2021 · Fundamentals

Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics

This article explains the technical details of Linux kernel preemption, covering the difference between preemptible and non‑preemptible kernels, the role of the reschedule flag and preempt count, scheduling checkpoints and preempt points, low‑latency handling in non‑preemptible kernels, and the voluntary preemption model.

CFSKernelLinux
0 likes · 20 min read
Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics
21CTO
21CTO
Nov 2, 2021 · Fundamentals

What’s New in Linux Kernel 5.15? NTFS3, GPU Boosts, and Google’s Massive Bounty

Linux 5.15, the latest LTS kernel announced by Linus Torvalds, introduces Paragon’s NTFS3 driver, expanded AMD, Intel, and Apple hardware support, resolves the controversial -Werror policy, and is accompanied by Google’s unprecedented bounty program rewarding security researchers for critical kernel vulnerabilities.

5.15Google BountyHardware Support
0 likes · 7 min read
What’s New in Linux Kernel 5.15? NTFS3, GPU Boosts, and Google’s Massive Bounty
Refining Core Development Skills
Refining Core Development Skills
Oct 25, 2021 · Fundamentals

Understanding Linux Network Namespaces: Implementation, Usage, and Internals

This article explains how Linux network namespaces provide isolated network stacks by using virtual Ethernet devices, kernel data structures, and per‑namespace routing and iptables, offering step‑by‑step commands, code excerpts, and deep insight into the kernel mechanisms that enable container networking isolation.

KernelLinuxNetwork Namespace
0 likes · 18 min read
Understanding Linux Network Namespaces: Implementation, Usage, and Internals
Liangxu Linux
Liangxu Linux
Oct 17, 2021 · Fundamentals

Unraveling Linux Boot: From BIOS Power‑On to Kernel Init

This article explains the complete Linux startup sequence, covering BIOS power‑on self‑test, interrupt vector initialization, MBR and partition table layout, multi‑stage bootloaders such as GRUB, kernel decompression, transition to protected mode, and the init system with runlevels.

BIOSGRUBKernel
0 likes · 25 min read
Unraveling Linux Boot: From BIOS Power‑On to Kernel Init
Refining Core Development Skills
Refining Core Development Skills
Oct 14, 2021 · Cloud Native

Understanding Linux Bridge and veth for Docker Networking

This article explains how Linux bridge and virtual Ethernet (veth) devices work together to enable communication between Docker containers, covering the creation of network namespaces, veth pairs, bridge setup, kernel implementation details, and packet forwarding processes.

KernelLinuxNetwork Virtualization
0 likes · 15 min read
Understanding Linux Bridge and veth for Docker Networking
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.

KernelSocketip-address
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.

KernelLinuxOOM
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.

ARMBootKernel
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.

KernelLinuxcgroup
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.

BackendKernelLinux
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.

KernelLinuxProcess 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.

KernelLinuxPort 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 CacheKernelLinux
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.

KernelLinuxdisk partition
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.

KernelLinuxSlab 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.

IncFSKernelLTFS
0 likes · 12 min read
Unconventional Linux Filesystems: OverlayFS, IncFS, ZoneFS, LTFS, and StegFS
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.

$rootKernelLinux
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.

DMAKernelLinux
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.

$rootKernelLinux
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.

AstyleC++Checkpatch
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.12Kernelfeatures
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.

KernelLinuxTCP
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.

KernelLinuxShell
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.

File SystemI/OKernel
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.

KernelLinuxMacro 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.

KernelLinuxSyscall 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.

KernelLinuxPacket Reception
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.

C++InitcallKernel
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.

KernelLinuxPongoOS
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.

KernelLinuxMount
0 likes · 34 min read
Understanding Linux: Kernel, Shell, Filesystem, and Core Components Explained
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/OKernelLinux
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.

KernelLinuxinterrupts
0 likes · 28 min read
What Really Happens Inside Linux When recvfrom Receives a Packet?
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.

AndroidKerneldebugging
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 ACKKernelLinux
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.

KernelLinuxethtool
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.

KernelLinuxmemory management
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.

KernelLinuxMount
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem and Core Components Explained