函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:15:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rmap_walk_ksm
函数原型:void rmap_walk_ksm(struct page *page, struct rmap_walk_control *rwc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct rmap_walk_control * | rwc |
2595 | search_new_forks等于0 |
2603 | VM_BUG_ON_PAGE(!PageLocked(page), page) |
2605 | stable_node等于page_stable_node(page) |
2606 | 如果非stable_node则返回 |
2608 | again : |
2610 | anon_vma等于 when stable |
2614 | cond_resched() |
2615 | anon_vma_lock_read(anon_vma) |
2620 | cond_resched() |
2624 | addr等于 + low bits used for flags below 按位与KSM_FLAG_MASK的反 |
2626 | 如果addr小于Our start address within vm_mm. 或addr大于等于The first byte after our end addresswithin vm_mm. 则继续下一循环 |
2634 | 如果mm恒等于The address space we belong to. 恒等于search_new_forks则继续下一循环 |
2637 | 如果 for skipping uninterested vma且 for skipping uninterested vma(vma, passed to rmap_one() and invalid_vma())则继续下一循环 |
2641 | anon_vma_unlock_read(anon_vma) |
2642 | 返回 |
2645 | anon_vma_unlock_read(anon_vma) |
2646 | 返回 |
2649 | anon_vma_unlock_read(anon_vma) |
2651 | 如果非search_new_forks自加则转到:again |
名称 | 描述 |
---|---|
rmap_walk |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |