Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memory.c Create Date:2022-07-28 14:43:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:`inline' is required to avoid gcc 4.1.2 build error

Proto:static inline vm_fault_t wp_huge_pmd(struct vm_fault *vmf, pmd_t orig_pmd)

Type:vm_fault_t

Parameter:

TypeParameterName
struct vm_fault *vmf
pmd_torig_pmd
3916  If vma_is_anonymous(Target VMA ) Then Return do_huge_pmd_wp_page(vmf, orig_pmd)
3918  If huge_fault Then Return huge_fault(vmf, PE_SIZE_PMD)
3922  VM_BUG_ON_VMA(Flags, see mm.h. & VM_SHARED, Target VMA )
3923  __split_huge_pmd(Target VMA , Pointer to pmd entry matching* the 'address' , Faulting virtual address , TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., NULL)
3925  Return VM_FAULT_FALLBACK
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().