2010-03-24 4 views
2
/* 
* 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 

여기서 "페이지 캐시 페이지"란 무엇을 의미하는지 알려주세요.페이지 캐시 란 무엇입니까

감사합니다.

답변

3

pagecache는 이름에서 알 수 있듯이 실제 페이지의 캐시입니다.

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

파일 시스템 캐시 (디스크 캐시)를 저장하는 데 사용됩니다.

Mmaped 파일도 pagecache를 사용하는 것으로 보입니다.

"pagecache 페이지"는 페이지 캐시에 속한 페이지를 의미합니다.

관련 문제