Function report |
Source Code:mm\mlock.c |
Create Date:2022-07-28 14:45:21 |
| Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Isolate a page from LRU with optional get_page() pin.* Assumes lru_lock already held and page already pinned.
Proto:static bool __munlock_isolate_lru_page(struct page *page, bool getpage)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| bool | getpage |
| 114 | lruvec = mem_cgroup_page_lruvec(page, page_pgdat(page)) |
| 117 | ClearPageLRU(page) |
| 118 | del_page_from_lru_list(page, lruvec, 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.) |
| 119 | Return true |
| 122 | Return false |
| Name | Describe |
|---|---|
| munlock_vma_page | munlock_vma_page - munlock a vma page*@page: page to be unlocked, either a normal page or THP page head* returns the size of the page as a page mask (0 for normal page,* HPAGE_PMD_NR - 1 for THP head page) |
| __munlock_pagevec | Munlock a batch of pages from the same zone* The work is split to two main phases |
| 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 |