Operating Systems / Linux
53 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Storage Managementhistorical
Memory management organizes and uses computer memory. These notes link allocation, virtual memory, segmentation and paging, and page replacement.
- Virtual Memoryhistorical
Programs may require more space than physical memory provides. These notes examine virtual memory through address mapping and swapping.
- Memory Allocation and Reclamationhistorical
Operating systems allocate memory to programs and reclaim it when no longer needed. These notes examine allocation methods and their conditions and characteristics.
- Segmentation and Paginghistorical
Operating systems organize memory through address spaces, mapping process-visible logical addresses to storage. These notes examine segments, pages, and address translation.
- Linux Memory Managementhistorical
Swap space is a disk area to which Linux can move memory contents under pressure. These notes use that concept to compare swap and virtual memory.
- Page Replacementhistorical
Page Replacement: Page-replacement algorithms are similar to cache-eviction policies. The former solve a capacity problem, while the latter solve a speed problem.
- System Callshistorical
System calls let programs access operating-system capabilities through a function-like interface. These notes compare their execution with ordinary function calls.
- I/O Modelshistorical
Synchronous and asynchronous I/O concern how work proceeds and completion is reported; blocking and nonblocking concern waiting for results. These notes compare I/O models through system calls.
- select, poll, epollhistorical
Select, poll, and epoll provide I/O multiplexing. These notes compare them starting with select's descriptor copying, scanning, and count limits.
- I/Ohistorical
Files can be viewed as byte sequences, and Linux exposes many devices and kernel details through file interfaces. These notes examine I/O through that perspective.