Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-28 15:18:08
Last Modify:2020-03-17 22:19:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pte_same_as_swp

Proto:static inline int pte_same_as_swp(pte_t pte, pte_t swp_pte)

Type:int

Parameter:

TypeParameterName
pte_tpte
pte_tswp_pte
1845  Return pte_same(pte_swp_clear_soft_dirty(pte), swp_pte)
Caller
NameDescribe
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.