Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\ksm.c Create Date:2022-07-28 15:41:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:chain

Proto:static __always_inline struct page *chain(struct stable_node **s_n_d, struct stable_node *s_n, struct rb_root *root)

Type:struct page

Parameter:

TypeParameterName
struct stable_node **s_n_d
struct stable_node *s_n
struct rb_root *root
1533  old_stable_node = s_n
1536  tree_page = Like for get_ksm_page, this function can free the *_stable_node and* *_stable_node_dup if the returned tree_page is NULL
1538  VM_BUG_ON(s_n != old_stable_node)
1539  Return tree_page
Caller
NameDescribe
stable_tree_insertstable_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.