函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:13:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:remove_node_from_stable_tree
函数原型:static void remove_node_from_stable_tree(struct stable_node *stable_node)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct stable_node * | stable_node |
636 | BUG_ON(rmap_hlist_len < 0) |
643 | VM_BUG_ON(rmap_hlist_len <= 0) |
644 | rmap_hlist_len自减 |
645 | put_anon_vma( when stable ) |
647 | cond_resched() |
658 | BUILD_BUG_ON - break compile if a condition is true(STABLE_NODE_DUP_HEAD <= & Recently migrated nodes of stable tree, pending proper placement ) |
659 | BUILD_BUG_ON - break compile if a condition is true(STABLE_NODE_DUP_HEAD >= & Recently migrated nodes of stable tree, pending proper placement + 1) |
662 | 如果when listed for migration 恒等于Recently migrated nodes of stable tree, pending proper placement 则删除链表项 |
664 | 否则stable_node_dup_del(stable_node) |
名称 | 描述 |
---|---|
get_ksm_page | get_ksm_page: checks if the page indicated by the stable node* is still its ksm page, despite having held no reference to it.* In which case we can trust the content of the page, and it* returns the gotten page; but if the page has now been zapped, |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |