函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\ksm.c Create Date:2022-07-27 17:14:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_page_stable_node

函数原型:static inline void set_page_stable_node(struct page *page, struct stable_node *stable_node)

返回类型:void

参数:

类型参数名称
struct page *page
struct stable_node *stable_node
868  See page-flags.h for PAGE_MAPPING_FLAGS 等于stable_node按位或PAGE_MAPPING_KSM
调用者
名称描述
try_to_merge_one_pagery_to_merge_one_page - take two pages and merge them into one*@vma: the vma that holds the pte pointing to page*@page: the PageAnon page that we want to replace with kpage*@kpage: the PageKsm page that we want to map instead of page,
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.
ksm_migrate_page