Function report |
Source Code:include\linux\mm_inline.h |
Create Date:2022-07-28 14:08:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_off_lru - which LRU list was page on? clearing its lru flags.*@page: the page to test* Returns the LRU list a page was on, as an index into the array of LRU* lists; and clears its Unevictable or Active flags, ready for freeing.
Proto:static __always_inline enum lru_list page_off_lru(struct page *page)
Type:enum lru_list
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
94 | If PageUnevictable(page) Then |
96 | lru = LRU_UNEVICTABLE |
97 | Else |
98 | lru = page_lru_base_type - which LRU list type should a page be on?*@page: the page to test* Used for LRU list index arithmetic.* Returns the base LRU type - file or anon - @page should be on. |
99 | If PageActive(page) Then |
100 | __ClearPageActive(page) |
101 | lru += LRU_ACTIVE |
104 | Return lru |
Name | Describe |
---|---|
__page_cache_release | This path almost never happens for VM activity - pages are normally* freed via pagevecs. But it gets used by networking. |
release_pages | lease_pages - batched put_page()*@pages: array of pages to release*@nr: number of pages* Decrement the reference count on all the pages in @pages. If it* fell to zero, remove the page from the LRU and free it. |
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 |