2013年8月26日 星期一

Allocating and Freeing Page Tables

Reference : http://www.chudov.com/tmp/LinuxVM/html/understand/node26.html

因為page table的allocation跟free有很大的cost,而且又是很常要執行的操作(process create&delete)

所以Linux kernel使用quicklists來cache住用來當page table的page
quicklist包含pgd_quicklist, pmd_quicklist and pte_quicklist

所以會看到pgd_alloc使用get_pgd_fast & get_pgd_slow來完成,其中pgd_get_fast就是去抓
pgd_quicklist

0 意見:

張貼留言