Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hmm_range_need_fault

Proto:static void hmm_range_need_fault(const struct hmm_vma_walk *hmm_vma_walk, const uint64_t *pfns, unsigned long npages, uint64_t cpu_flags, bool *fault, bool *write_fault)

Type:void

Parameter:

TypeParameterName
const struct hmm_vma_walk *hmm_vma_walk
const uint64_t *pfns
unsigned longnpages
uint64_tcpu_flags
bool *fault
bool *write_fault
174  If flags & Don't fault in missing PTEs, just snapshot the current state. Then
175  * fault = * write_fault = false
176  Return
179  * fault = * write_fault = false
180  When i < npages cycle
181  hmm_pte_need_fault(hmm_vma_walk, pfns[i], cpu_flags, fault, write_fault)
183  If write_fault Then Return
Caller
NameDescribe
hmm_vma_walk_hole
hmm_vma_handle_pmd
hmm_vma_walk_pmd
hmm_vma_walk_test