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:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pte_mkwrite

Proto:static inline pte_t pte_mkwrite(pte_t pte)

Type:pte_t

Parameter:

TypeParameterName
pte_tpte
345  Return pte_set_flags(pte, _PAGE_RW)
Caller
NameDescribe
do_anonymous_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with mmap_sem still held, but pte unmapped and unlocked.
do_numa_page
change_pte_range
mcopy_atomic_pte
maybe_mkwriteDo pte_mkwrite, but only if the vma says VM_WRITE. We do this when* servicing faults for write access. In the normal case, do always want* pte_mkwrite. But get_user_pages can cause write faults for mappings
huge_pte_mkwrite