函数逻辑报告 |
Source Code:mm\vmscan.c |
Create Date:2022-07-27 15:44:22 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:heck_move_unevictable_pages - check pages for evictability and move to* appropriate zone lru list*@pvec: pagevec with lru pages to check* Checks pages for evictability, if an evictable page is in the unevictable
函数原型:void check_move_unevictable_pages(struct pagevec *pvec)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pagevec * | pvec |
4333 | struct pglist_data * pgdat = NULL |
4334 | pgscanned等于0 |
4335 | pgrescued等于0 |
4340 | pagepgdat等于page_pgdat(page) |
4342 | pgscanned自加 |
4349 | lruvec等于mem_cgroup_page_lruvec(page, pgdat) |
4351 | 如果非PageLRU(page)或非PageUnevictable(page)则继续下一循环 |
4355 | 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. |
4357 | VM_BUG_ON_PAGE(PageActive(page), page) |
4358 | ClearPageUnevictable(page) |
4360 | add_page_to_lru_list(page, lruvec, lru) |
4361 | pgrescued自加 |
4365 | 如果pgdat则 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |