Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:17:33 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pageout is called by shrink_page_list() for each dirty page.* Calls ->writepage().
Proto:static pageout_t pageout(struct page *page, struct address_space *mapping)
Type:pageout_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct address_space * | mapping |
809 | If Not is_page_cache_freeable(page) Then Return PAGE_KEEP |
811 | If Not mapping Then |
817 | If try_to_free_buffers(page) Then |
823 | Return PAGE_KEEP |
825 | If (writepage == NULL) Then Return PAGE_ACTIVATE |
827 | If Not may_write_to_inode(host) Then Return PAGE_KEEP |
844 | If res == AOP_WRITEPAGE_ACTIVATE Then |
855 | Return PAGE_SUCCESS |
858 | Return PAGE_CLEAN |
Name | Describe |
---|---|
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
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 |