函数逻辑报告 |
Source Code:mm\swap.c |
Create Date:2022-07-27 15:36:51 |
Last Modify:2022-05-23 13:40:24 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pagevec_lru_move_fn
函数原型:static void pagevec_lru_move_fn(struct pagevec *pvec, void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), void *arg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pagevec * | pvec | |
void (* | move_fn | |
void * | arg |
195 | struct pglist_data * pgdat = NULL |
197 | flags等于0 |
199 | 以i小于pagevec_count(pvec)循环 |
216 | pagevec_reinit(pvec) |
名称 | 描述 |
---|---|
pagevec_move_tail | pagevec_move_tail() must be called with IRQ disabled.* Otherwise this may cause nasty races. |
lru_add_drain_cpu | Drain pages out of the cpu's pagevecs.* Either "cpu" is the current CPU, and preemption has already been* disabled; or "cpu" is being hot-unplugged, and is already dead. |
deactivate_file_page | deactivate_file_page - forcefully deactivate a file page*@page: page to deactivate* This function hints the VM that @page is a good reclaim candidate,* for example if its invalidation fails due to the page being dirty* or under writeback. |
deactivate_page | deactivate_page - deactivate a page*@page: page to deactivate* deactivate_page() moves @page to the inactive list if @page was on the active* list and was not an unevictable page. This is done to accelerate the reclaim* of @page. |
mark_page_lazyfree | mark_page_lazyfree - make an anon page lazyfree*@page: page to deactivate* mark_page_lazyfree() moves @page to the inactive file list.* This is done to accelerate the reclaim of @page. |
__pagevec_lru_add | Add the passed pages to the LRU, then drop the caller's refcount* on them. Reinitialises the caller's pagevec. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |