函数逻辑报告 |
Source Code:mm\mlock.c |
Create Date:2022-07-27 16:13:02 |
Last Modify:2022-05-23 14:12:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Prepare page for fast batched LRU putback via putback_lru_evictable_pagevec()* The fast path is available only for evictable pages with single mapping.* Then we can bypass the per-cpu pvec and get better performance.
函数原型:static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, int *pgrescued)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct pagevec * | pvec | |
int * | pgrescued |
249 | VM_BUG_ON_PAGE(PageLRU(page), page) |
250 | VM_BUG_ON_PAGE(!PageLocked(page), page) |
254 | 如果TestClearPageUnevictable(page)则pgrescued自加 |
257 | 返回:true |
260 | 返回:false |
名称 | 描述 |
---|---|
__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 插件可实现:逻辑报告 代码生成和批量转换代码 |