Радар на почту

Таблицы страниц простыми словами

DEV · 13.11.2026 · 23:49

Программа использует виртуальные адреса, которые процессор переводит в физические адреса с помощью таблиц страниц. Эти таблицы хранятся в памяти и управляются ядром.

Читать в источнике

Оригинал

Page tables in plain words

Page tables in plain words A program never touches real memory addresses. It uses virtual addresses, and the CPU translates each one to a physical address before the access happens. Page tables are the data the CPU reads to do that translation. They are not code. They are tables in memory, written by the kernel, read by the hardware on every access. That split is the whole idea. The kernel decides which virtual pages map to which physical pages, and with what permissions. The CPU enforces the