| 函数逻辑报告 | 
| Source Code: mm\khugepaged.c | Create Date:2022-07-27 17:41:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:khugepaged_do_scan
函数原型:static void khugepaged_do_scan(void)
返回类型:void
参数:无
| 2063 | progress等于0, pass_through_head等于0 | 
| 2065 | bool wait = true | 
| 2070 | 如果非khugepaged_prealloc_page( & hpage, & wait)则退出 | 
| 2073 | cond_resched() | 
| 2078 | 加自旋锁 | 
| 2079 | 如果非mm_slot则pass_through_head自加 | 
| 2081 | 如果khugepaged_has_work()且pass_through_head小于2则progress加等于khugepaged_scan_mm_slot(pages - progress, & hpage) | 
| 2087 | 自旋锁解锁 | 
| 2090 | 如果非是错误或空则Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page. | 
| 名称 | 描述 | 
|---|---|
| khugepaged | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |