PAGE CACHE DIAGRAM
Retired DISLab
(버전 사이의 차이)
(한 사용자의 중간의 편집 1개 숨겨짐) | |||
1번째 줄: | 1번째 줄: | ||
<uml> | <uml> | ||
(*) --> "add_to_page_cache_lru()" | (*) --> "add_to_page_cache_lru()" | ||
− | --> [ | + | --> [1st : ret=]"add_to_page_cache()" |
− | "add_to_page_cache_lru()" --> [ | + | "add_to_page_cache_lru()" --> [2nd : if(ret==0)]"lru_cache_add_file()" |
--> "__lru_cache_add()" | --> "__lru_cache_add()" | ||
-left-> "page_cache_get()" | -left-> "page_cache_get()" | ||
− | note top : | + | note top : Getting a normal page or the head of a compound page |
--> "__lru_cache_add()" | --> "__lru_cache_add()" | ||
note top : struct pagevec {\n\tunsigned long nr;\n\tunsigned long cold;\n\tstruct page *page[PAGEVEC_SIZE];\n}; | note top : struct pagevec {\n\tunsigned long nr;\n\tunsigned long cold;\n\tstruct page *page[PAGEVEC_SIZE];\n}; | ||
− | -right-> [!pagevec_space() | + | -right-> [if(!pagevec_space())]"__pagevec_lru_add()" |
"__lru_cache_add()" --> "pagevec_add()" | "__lru_cache_add()" --> "pagevec_add()" | ||
--> (*) | --> (*) |
2014년 5월 30일 (금) 13:31 현재 판