Function report |
Source Code:mm\ksm.c |
Create Date:2022-07-28 15:40:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_stable_node_chain
Proto:static struct stable_node *alloc_stable_node_chain(struct stable_node *dup, struct rb_root *root)
Type:struct stable_node
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct stable_node * | dup | |
| struct rb_root * | root |
| 593 | chain = alloc_stable_node() |
| 594 | VM_BUG_ON(is_stable_node_chain(dup)) |
| 595 | If Value is more likely to compile time(chain) Then |
| 596 | INIT_HLIST_HEAD( & hlist) |
| 597 | chain_prune_time = jiffies |
| 598 | rmap_hlist_len = STABLE_NODE_CHAIN can be any negative number in* rmap_hlist_len negative range, but better not -1 to be able* to reliably detect underflows. |
| 609 | rb_replace_node( & when node of stable tree , & when node of stable tree , root) |
| 620 | Return chain |
| Name | Describe |
|---|---|
| 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 |
| stable_tree_insert | stable_tree_insert - insert stable tree node pointing to new ksm page* into the stable tree.* This function returns the stable tree node just allocated on success,* NULL otherwise. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |