函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:14:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:stable_tree_append - add another rmap_item to the linked list of* rmap_items hanging off a given node of the stable tree, all sharing* the same ksm page.
函数原型:static void stable_tree_append(struct rmap_item *rmap_item, struct stable_node *stable_node, bool max_page_sharing_bypass)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rmap_item * | rmap_item | |
| struct stable_node * | stable_node | |
| bool | max_page_sharing_bypass |
| 2008 | BUG_ON(rmap_hlist_len < 0) |
| 2010 | rmap_hlist_len自加 |
| 2011 | 如果非max_page_sharing_bypass则WARN_ON_ONCE(rmap_hlist_len > Maximum number of page slots sharing a stable node ) |
| 2018 | hlist_add_head( & hlist, & hlist) |
| 2022 | 否则The number of nodes in the stable tree 自加 |
| 名称 | 描述 |
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |