函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-27 17:32:25
Last Modify:2022-05-20 09:53:13 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:migration_entry_wait

函数原型:void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, unsigned long address)

返回类型:void

参数:

类型参数名称
struct mm_struct *mm
pmd_t *pmd
unsigned longaddress
342  ptl等于pte_lockptr(mm, pmd)
343  ptep等于pte_offset_map(pmd, address)
344  Something used the pte of a page under migration. We need to* get to the page and wait until migration is finished.* When we return from this function the fault will be retried.
调用者
名称描述
do_swap_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 pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases
hmm_vma_handle_pte
follow_page_pte