Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\hugetlb.h Create Date:2022-07-28 05:55:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_huge_pte_at

Proto:static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
unsigned longaddr
pte_t *ptep
pte_tpte
56  set_pte_at(mm, addr, ptep, pte)
Caller
NameDescribe
copy_hugetlb_page_range
hugetlb_cowHugetlb_cow() should be called with page lock of the original hugepage held.* Called with hugetlb_instantiation_mutex held and pte_page locked so we* cannot race with other handlers or page migration.
hugetlb_no_page
hugetlb_mcopy_atomic_pteUsed by userfaultfd UFFDIO_COPY. Based on mcopy_atomic_pte with* modifications for huge pages.
remove_migration_pteRestore a potential migration pte to a working pte entry