Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swapops.h Create Date:2022-07-28 10:01:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:is_migration_entry

Proto:static inline int is_migration_entry(swp_entry_t entry)

Type:int

Parameter:

TypeParameterName
swp_entry_tentry
174  Return Value for the false possibility is greater at compile time(Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format == SWP_MIGRATION_READ || Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format == SWP_MIGRATION_WRITE)
Caller
NameDescribe
follow_page_pte
copy_one_ptepy one vm_area from one task to the other. Assumes the page tables* already present in the new task to be cleared in the whole range* covered by this vma.
zap_pte_range
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
check_pteheck_pte - check if @pvmw->page is mapped at the @pvmw->pte* page_vma_mapped_walk() found a place where @pvmw->page is *potentially** mapped
page_vma_mapped_walkpage_vma_mapped_walk - check if @pvmw->page is mapped in @pvmw->vma at*@pvmw->address*@pvmw: pointer to struct page_vma_mapped_walk. page, vma, address and flags* must be set. pmd, pte and ptl must be NULL.* Returns true if the page is mapped in the vma
is_hugetlb_entry_migration
__migration_entry_waitSomething 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.
hmm_vma_handle_pte