- 论坛徽章:
- 0
|
major page faults: no physical page is mapped to VM, trap to kernel to either create new page or copy in from swap device
minor page faults: no MMU translation is estalished. For example, a process use shareable libray, which is load into memory by other process.
protection faults: w/r
swapfs:
Each physical page of mem is identified with vnode and offset. vnode and offset is backing store that tells where to find the page is not in physical mem
Anonymous memory refers to pages that are not directly associated with a vnode. Such pages are used for a process’s heap space, its stack, and copy-on-write pages.
swap space is used as the backing store for anonymous memory.
Reserved(no real mem is allocated)-allocated(allocated when first require)-swap out(shortage,swap to disk)
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/10296/showart_271662.html |
|