Introduction to MMU in ARMV8-A – Part 1

Introduction to MMU in ARMV8-A - Part 1

1. Concept of Address Translation The code in ARMV8-A generally uses virtual addresses for addressing access, which are converted into physical addresses in the memory system. This conversion is performed by a component of the processor called the MMU. The MMU uses a translation table to convert virtual addresses to physical addresses; this translation table … Read more

Introduction to Linux Virtual Memory Management

Introduction to Linux Virtual Memory Management

Once a program is running, it becomes a process. Regardless of whether it is in kernel mode or user mode, the process sees a virtual memory space. When accessing specific data, the virtual memory address is first converted to a physical memory address, allowing access to the actual physical memory where this data is stored, … Read more

Design and Implementation of Linux Memory Management: Unveiling the Principles of Physical and Virtual Memory Allocation

Design and Implementation of Linux Memory Management: Unveiling the Principles of Physical and Virtual Memory Allocation

Main Content: Mapping of Physical Memory and Virtual Memory Initialization of Physical Memory at Boot Time Buddy System for Allocating Physical Memory Pages SLAB Allocator for Allocating Physical Memory Blocks vmalloc for Allocating Virtual Memory Pages mmap Memory Mapping Principles malloc for Dynamic Memory Allocation Page Fault Interrupts

Dandelions in the Chip

Dandelions in the Chip

In the spring of 2080, filled with the scent of data, I touched the memory chip at the back of my neck, watching my mother’s virtual projection spin in a field of dandelions. Her skirt lifted countless glowing binary codes, a “perfect memory” generated by the chip based on her images from life—yet the real … Read more

Day 3 – The Virtual Memory Mechanism of Linux

Day 3 - The Virtual Memory Mechanism of Linux

This article aims to introduce the memory usage methods in the Linux kernel, detailing the various regions of memory allocation and their functions. 1. Physical Memory Allocation 1. Physical Memory Allocation Diagram Linux kernel’s physical memory allocation General Overview: The entire physical memory is divided into four blocks. Block 1: Linux Kernel Program This is … Read more

Exploring The Magical Power Of Process Address Space In Linux

Exploring The Magical Power Of Process Address Space In Linux

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇Technical exchange QQ group of 1000 people, note [public account] for faster approval Address Bus The width of the address bus is generally 32 or 64. Each bus can exhibit either electric or non-electric (weak signal), with an energized bus interpreted by the computer … Read more