Exceptional Kernel Engineering - Memory and Processes: Paging, Virtual Memory, and the Process Model [Print Replica] Kindle Edition

★★★★★ 4.7 43 reviews

$8.53
Price when purchased online
Free shipping Free 30-day returns

Sold and shipped by adherents.xylofutur.fr
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here.
$8.53
Price when purchased online
Free shipping Free 30-day returns

How do you want your item?
You get 30 days free! Choose a plan at checkout.
Shipping
Arrives May 9
Free
Pickup
Check nearby
Delivery
Not available

Sold and shipped by adherents.xylofutur.fr
Free 30-day returns Details

Product details

Management number 219222561 Release Date 2026/05/03 List Price $3.41 Model Number 219222561
Category

I wrote this book to give systems programmers a precise, working model of memory and processes inside a real kernel built in C on x86-64. Instead of glossing over details, I treat page tables, allocators, VMAs, faults, and user crossings as rigorously as any other data structure or algorithm. My approach is simple: define the invariants, present clean APIs, and show how each piece composes under load, across cores, and in the presence of failures.I start with the layout of the address space and the physical page inventory, then build up a buddy allocator and slab style object caches that deliver predictable latency and low fragmentation. I treat page tables as a carefully edited tree with well defined map, unmap, and protect operations, including large page promotion and demotion. From there I construct the page fault path that powers demand paging and copy on write, and I show how ELF programs are mapped, how PIE and ASLR fit, and how dynamic linking and thread local storage are set up cleanly.Because performance and safety live in the details, I work through TLB behavior, PCIDs, and shootdowns, then show how to keep the kernel fast during frequent address space edits. I connect memory to I/O with mmap and a coherent page cache, and I explain reclamation under pressure with eviction policies and swap. Finally, I walk the user boundary with copy to user and copy from user, SMEP and SMAP, W^X, and pinned buffers, then lay out efficient syscall entry and exit, context switching with XSAVE, and the full process lifecycle with fork, exec, exit, and signal delivery.What you will learn with clarity and depth:How to design a robust virtual address space for user and kernel, including higher half mappings and per CPU regionsHow to track and allocate physical memory with zones, NUMA awareness, and a buddy allocator that cooperates with large pagesHow to implement a fast kernel heap with object caches, constructors, and per CPU magazinesHow to edit page tables safely, including caching flags, NX, user and supervisor bits, and transparent large pagesHow to handle page faults for demand zero and copy on write, and how to build a reliable ELF loader with PIE and ASLRHow to unify file I/O and memory through mmap and a page cache, and how to reclaim under pressure with swapHow to minimize stalls with PCIDs and batched TLB shootdownsHow to cross the user boundary safely, implement syscall trampolines, and switch contexts without surprisesI wrote it for readers who want engineering grade explanations that connect design choices to measurable behavior. If you enjoy reasoning from invariants, care about correctness under concurrency, and want code that survives real workloads, this book is for you. Read more

XRay Not Enabled
Format Print Replica
Language English
File size 5.9 MB
Page Flip Not Enabled
Word Wise Not Enabled
Book 2 of 3 Exceptional Kernel Engineering
Print length 387 pages
Accessibility Learn more
Publication date October 12, 2025
Enhanced typesetting Not Enabled

Correction of product information

If you notice any omissions or errors in the product information on this page, please use the correction request form below.

Correction Request Form

Customer ratings & reviews

4.7 out of 5
★★★★★
43 ratings | 18 reviews
How item rating is calculated
View all reviews
5 stars
86% (37)
4 stars
2% (1)
3 stars
1% (0)
2 stars
1% (0)
1 star
10% (4)
Sort by

There are currently no written reviews for this product.