函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-27 16:48:32
Last Modify:2020-03-17 22:19:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pte_same_as_swp

函数原型:static inline int pte_same_as_swp(pte_t pte, pte_t swp_pte)

返回类型:int

参数:

类型参数名称
pte_tpte
pte_tswp_pte
1845  返回:pte_same(pte_swp_clear_soft_dirty(pte), swp_pte)
调用者
名称描述
unuse_pteNo need to decide whether this PTE shares the swap entry with others,* just let do_wp_page work it out if a write is requested later - to* force COW, vm_page_prot omits write permission from any private vma.