1. Top 10 algorithms of the 20th century - 10 Thuật Toán Quan Trọng Nhất Thế Kỉ 20
https://iattendance.co - Simple and easy way to manage staff or visitor attendance, inventory... https://neonplatform.com - One platform for all IoT devices.
Thursday, December 30, 2010
Thursday, December 16, 2010
How The Kernel Manages Your Memory
(Original post at: www.duartes.org)
Anatomy of a Program in Memory
Each process in a multi-tasking OS runs in its own memory sandbox. This sandbox is the virtual address space, which in 32-bit mode is always a 4GB block of memory addresses. These virtual addresses are mapped to physical memory by page tables, which are maintained by the operating system kernel and consulted by the processor. Each process has its own set of page tables, but there is a catch. Once virtual addresses are enabled, they apply to all software running in the machine, including the kernel itself. Thus a portion of the virtual address space must be reserved to the kernel: