摘要:
It is important to realize that clients and servers are processes and not ma- chines, or hosts as they are often called in this context. Data received 阅读全文
摘要:
An input operation copies data from an I/O device to main memory, and an output operation copies data from memory to a device. All language run-time s 阅读全文
摘要:
Working within these constraints, the author of an allocator attempts to meet the often conflicting performance goals of maximizing throughput and mem 阅读全文
摘要:
The execve Function Revisited Suppose that the program running in the current process makes the following call: Execve("a.out", NULL, NULL); Loading a 阅读全文
摘要:
ref: https://blog.csdn.net/linhuanmars/article/details/19711387 Solution 1: time complexity O(1), space complexity O(2) or time complexity O(n+nlgn) = 阅读全文
摘要:
Linux organizes the virtual memory as a collection of areas (also called segments). An area is a contiguous chunk of existing (allocated) virtual memo 阅读全文
摘要:
Integrating Caches and VM TODO peeding up Address Translation with a TLB Many systems try to eliminate even this cost by including a small cache of PT 阅读全文
摘要:
Page Hits: CPU reads a word of virtual memory which is cached in DRAM. Page Faults(缺页): 流程: 术语: Virtual memory systems use a different terminology fro 阅读全文
摘要:
Synchronizing Flows to Avoid Nasty Concurrency Bugs an example code: void handler(int sig) { pid_t pid; while ((pid = waitpid(-1, NULL, 0)) > 0) /* Re 阅读全文
摘要:
example codes: if (errno != ECHILD) unix_error("waitpid error");//Version 4 code in purple, same with version 2 if (errno != ECHILD) unix_error("waitp 阅读全文