Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_page_sharing_candidate

Proto:static __always_inline bool is_page_sharing_candidate(struct stable_node *stable_node)

Type:bool

Parameter:

TypeParameterName
struct stable_node *stable_node
1351  Return __is_page_sharing_candidate(stable_node, 0)
Caller
NameDescribe
stable_node_dup
__stable_node_chainLike for get_ksm_page, this function can free the *_stable_node and* *_stable_node_dup if the returned tree_page is NULL
stable_tree_searchstable_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_pagemp_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