什么是pagecache页面

时间:2010-03-24 13:52:47

标签: linux-kernel kernel

/*
 * Each physical page in the system has a struct page associated with
 * it to keep track of whatever it is we are using the page for at the
 * moment. Note that we have no way to track which tasks are using
 * a page, though if it is a pagecache page, rmap structures can tell us
 * who is mapping it.
 */

include/linux/mm_types.h

这里请知道什么是“pagecache页面”的意思?

谢谢!

1 个答案:

答案 0 :(得分:3)

  

页面缓存 - 顾名思义 - 是一个物理页面缓存。

http://www.moses.uklinux.net/patches/lki-4.html

它用于存储文件系统缓存(磁盘缓存)。

Mmaped文件似乎也使用了pagecache。

“pagecache页面”表示页面,属于pagecache