函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:13:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Removing rmap_item from stable or unstable tree.* This function will clean the information from the stable/unstable tree.
函数原型:static void remove_rmap_item_from_tree(struct rmap_item *rmap_item)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rmap_item * | rmap_item |
| 792 | VM_BUG_ON(rmap_hlist_len <= 0) |
| 793 | rmap_hlist_len自减 |
| 795 | put_anon_vma( when stable ) |
| 798 | 否则如果 + low bits used for flags below 按位与s a node of the unstable tree 则 |
| 809 | 如果非age则rb_erase( & when node of unstable tree , root_unstable_tree + NUMA( when node of unstable tree )) |
| 815 | out : |
| 816 | cond_resched() |
| 名称 | 描述 |
|---|---|
| remove_trailing_rmap_items | |
| try_to_merge_with_ksm_page | ry_to_merge_with_ksm_page - like try_to_merge_two_pages,* but no new kernel page is allocated: kpage must already be a ksm page.* This function returns 0 if the pages were merged, -EFAULT otherwise. |
| cmp_and_merge_page | mp_and_merge_page - first see if page can be merged into the stable tree;* if not, compare checksum to previous and if it's the same, see if page can* be inserted into the unstable tree, or merged with a page already there and |
| get_next_rmap_item |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |