Function report |
Source Code:include\linux\mm_inline.h |
Create Date:2022-07-28 14:08:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:page_lru - which LRU list should a page be on?*@page: the page to test* Returns the LRU list a page should be on, as an index* into the array of LRU lists.
Proto:static __always_inline enum lru_list page_lru(struct page *page)
Type:enum lru_list
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page |
| 118 | If PageUnevictable(page) Then lru = LRU_UNEVICTABLE |
| 120 | Else |
| 121 | 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. |
| 122 | If PageActive(page) Then lru += LRU_ACTIVE |
| 125 | Return lru |
| Name | Describe |
|---|---|
| pagevec_move_tail_fn | |
| lru_add_page_tail | sed by __split_huge_page_refcount() |
| __pagevec_lru_add_fn | |
| isolate_lru_page | solate_lru_page - tries to isolate a page from its LRU list*@page: page to isolate from its LRU list* Isolates a @page from an LRU list, clears PageLRU and adjusts the* vmstat statistic corresponding to whatever LRU list the page was on. |
| move_pages_to_lru | This moves pages from @list to corresponding LRU list.* We move them the other way if the page is referenced by one or more* processes, from rmap.* If the pages are mostly unmapped, the processing is fast and it is |
| isolate_migratepages_block | solate_migratepages_block() - isolate all migrate-able pages within* a single pageblock*@cc: Compaction control structure.*@low_pfn: The first PFN to isolate*@end_pfn: The one-past-the-last PFN to isolate, within same pageblock |
| __munlock_isolate_lru_page | Isolate a page from LRU with optional get_page() pin.* Assumes lru_lock already held and page already pinned. |
| lock_page_lru | |
| unlock_page_lru |
| 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 |