Notes index: Memory
Part of the notes index, which says how to add a line.
- Physical memory: the frame allocator, bitmap over free list.
- The MMU: virtual addresses, page tables, the TLB and page faults.
- aarch64 page tables: the descriptor format the MMU walks, and its traps.
- The page_tables crate (
nifeos/nife:notes/paging.md): the page-table formats one walk serves, the IOMMU encodings, and what the DMA-domain proofs cover. - The higher-half kernel: why the kernel lives in TTBR1, and how it boots.
- The user address-space map: which band of a process holds what, and where a new page goes.
- The current-CPU page: the per-thread page through which a thread reads its own CPU, and why it sits beside the stack.
- User address spaces in the kernel: who frees a space's region, what a window costs, the registry, and handing a test service's memory back.
- Tearing down an address space: how the kernel reclaims a dead address space's frames.
- Memory regions: the kernel stops allocating: processes spend pages from their own memory capability.
- Region reaping: what destroying a region does to the threads, rendezvous and other objects in it.
- A split refused for a full region table: a refused split moves nothing, a full table included, and why (provisional ruling, option B).
- PageFrame capabilities: shared memory a process owns, maps and delegates.
- Giving up a mapping:
AddressSpace::UNMAP, its two provisional semantics, and why it cannot yet reach a running space. PageFrame::SLICE: a capability naming part of a run, and the file service's window pool it serves.- Naming a running address space: research for the #1678 fork; what seL4 and Zircon do, and what option A must say.
- ASIDs: tagged address spaces: per-space TLB tags so context switches flush nothing.
- The RISC-V TLB shootdown: cross-hart ASID flush via SBI RFENCE, replacing full flushes.
- The x86_64 TLB shootdown: cross-core TLB invalidation on x86, done by NMI.
- The kernel's own budget: kernel stacks drawn from one fixed boot-carved region.