Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-28 15:58:16
Last Modify:2022-05-20 09:53:13 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Get rid of all migration entries and replace them by* references to the indicated page.

Proto:void remove_migration_ptes(struct page *old, struct page *new, bool locked)

Type:void

Parameter:

TypeParameterName
struct page *old
struct page *new
boollocked
291  struct rmap_walk_control rwc = { executed on each vma where page is mapped = Restore a potential migration pte to a working pte entry, passed to rmap_one() and invalid_vma() = old, }
296  If locked Then Like rmap_walk, but caller holds relevant rmap lock
298  Else rmap_walk(new, & rwc)
Caller
NameDescribe
writeoutWriteback a page to clean the dirty state
__unmap_and_move
unmap_and_move_huge_pageCounterpart of unmap_and_move_page() for hugepage migration
remap_page