Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Like for get_ksm_page, this function can free the *_stable_node and* *_stable_node_dup if the returned tree_page is NULL

Proto:static struct page *__stable_node_chain(struct stable_node **_stable_node_dup, struct stable_node **_stable_node, struct rb_root *root, bool prune_stale_stable_nodes)

Type:struct page

Parameter:

TypeParameterName
struct stable_node **_stable_node_dup
struct stable_node **_stable_node
struct rb_root *root
boolprune_stale_stable_nodes
1505  stable_node = _stable_node
1506  If Not is_stable_node_chain(stable_node) Then
1515  * _stable_node_dup = NULL
1516  Return NULL
1518  Return stable_node_dup(_stable_node_dup, _stable_node, root, prune_stale_stable_nodes)
Caller
NameDescribe
chain_prune
chain