函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Get rid of all migration entries and replace them by* references to the indicated page.

函数原型:void remove_migration_ptes(struct page *old, struct page *new, bool locked)

返回类型:void

参数:

类型参数名称
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  如果lockedLike rmap_walk, but caller holds relevant rmap lock
298  否则rmap_walk(new, & rwc)
调用者
名称描述
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