Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-28 06:00:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pmd_write

Proto:static inline int pmd_write(pmd_t pmd)

Type:int

Parameter:

TypeParameterName
pmd_tpmd
1178  Return pmd_flags(pmd) & _PAGE_RW
Caller
NameDescribe
__handle_mm_faultBy the time we get here, we already hold the mm semaphore* The mmap_sem may have been released depending on flags and our* return value. See filemap_fault() and __lock_page_or_retry().
follow_devmap_pmd
can_follow_write_pmdFOLL_FORCE can write to even unwritable pmd's, but only* after we've gone through a COW cycle and they are dirty.
change_huge_pmdReturns* - 0 if PMD could not be locked* - 1 if PMD was locked but protections unchange and TLB flush unnecessary* - HPAGE_PMD_NR is protections changed and TLB flush necessary
__split_huge_pmd_locked
pmd_to_hmm_pfn_flags
wp_clean_pmd_entrywp_clean_pmd_entry - The pagewalk pmd callback.