函数逻辑报告 |
Source Code:mm\mlock.c |
Create Date:2022-07-27 16:12:56 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Isolate a page from LRU with optional get_page() pin.* Assumes lru_lock already held and page already pinned.
函数原型:static bool __munlock_isolate_lru_page(struct page *page, bool getpage)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 返回:true |
122 | 返回:false |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |