Tag

Kernel Internals

0 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 18, 2020 · Fundamentals

Linux Kernel File Cache Mechanism: In-Depth Analysis of Read/Write Processes and Pre-reading Algorithm

The article thoroughly explains Linux kernel file cache, detailing how read() and write() operations traverse VFS to the block layer, the adaptive read‑ahead algorithm that pre‑loads sequential pages, the internal functions such as generic_file_buffered_read and ondemand_readahead, and outlines write handling and future topics on mmap and cache reclamation.

File SystemKernel InternalsLinux Kernel
0 likes · 19 min read
Linux Kernel File Cache Mechanism: In-Depth Analysis of Read/Write Processes and Pre-reading Algorithm
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jun 12, 2020 · Fundamentals

Linux Kernel Virtual Memory Management: Process Virtual Address Space and Allocation

The article explains Linux kernel virtual memory management on 64‑bit ARM64 Android systems, detailing user‑ and kernel‑space address layout, physical vs. linear addresses, allocation mechanisms such as brk and mmap, common allocators, key structures like mm_struct and vm_area_struct, and the functions that control mmap layout and unmapped‑area selection.

ARM64ASLRKernel Internals
0 likes · 20 min read
Linux Kernel Virtual Memory Management: Process Virtual Address Space and Allocation