Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_pmd_migration_entry

Proto:static inline int is_pmd_migration_entry(pmd_t pmd)

Type:int

Parameter:

TypeParameterName
pmd_tpmd
302  Return 0
Caller
NameDescribe
follow_pmd_mask
__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().
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
madvise_cold_or_pageout_pte_range
queue_pages_pmdqueue_pages_pmd() has four possible return values:* 0 - pages are placed on the right node or queued successfully
madvise_free_huge_pmdReturn true if we do MADV_FREE successfully on entire pmd page.* Otherwise, return false.
zap_huge_pmd
__split_huge_pmd_locked
__split_huge_pmd
get_mctgt_type_thpWe don't consider PMD mapped swapping or file mapped pages because THP does* not support them for now.* Caller should make sure that pmd_trans_huge(pmd) is true.
hmm_vma_walk_pmd