函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:14:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:is_page_sharing_candidate
函数原型:static __always_inline bool is_page_sharing_candidate(struct stable_node *stable_node)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct stable_node * | stable_node |
1351 | 返回:__is_page_sharing_candidate(stable_node, 0) |
名称 | 描述 |
---|---|
stable_node_dup | |
__stable_node_chain | Like for get_ksm_page, this function can free the *_stable_node and* *_stable_node_dup if the returned tree_page is NULL |
stable_tree_search | stable_tree_search - search for page inside the stable tree* This function checks if there is a page inside the stable tree* with identical content to the page that we are scanning right now |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |