Function report |
Source Code:mm\swap.c |
Create Date:2022-07-28 14:13:16 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Mark a page as having seen activity.* inactive,unreferenced -> inactive,referenced* inactive,referenced -> active,unreferenced* active,unreferenced -> active,referenced* When a newly allocated page is not yet visible, so safe for non-atomic ops,
Proto:void mark_page_accessed(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
375 | page = compound_head(page) |
377 | If Not PageReferenced(page) Then |
378 | SetPageReferenced(page) |
379 | Else if PageUnevictable(page) Then Else if Not PageActive(page) Then |
392 | If PageLRU(page) Then activate_page(page) |
394 | Else __lru_cache_activate_page(page) |
396 | ClearPageReferenced(page) |
400 | If page_is_idle(page) Then clear_page_idle(page) |
Name | Describe |
---|---|
generic_file_buffered_read | generic_file_buffered_read - generic file read routine*@iocb: the iocb to read*@iter: data destination*@written: already copied* This is a generic file read routine, and uses the* mapping->a_ops->readpage() function for the actual low-level stuff. |
do_read_cache_page | |
follow_page_pte | |
zap_pte_range | |
try_to_merge_one_page | ry_to_merge_one_page - take two pages and merge them into one*@vma: the vma that holds the pte pointing to page*@page: the PageAnon page that we want to replace with kpage*@kpage: the PageKsm page that we want to map instead of page, |
iomap_zero |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |